diff --git a/zuul-core/src/main/java/com/netflix/zuul/message/util/HttpRequestBuilder.java b/zuul-core/src/main/java/com/netflix/zuul/message/util/HttpRequestBuilder.java index 6ed152f32f..254c32bf2d 100644 --- a/zuul-core/src/main/java/com/netflix/zuul/message/util/HttpRequestBuilder.java +++ b/zuul-core/src/main/java/com/netflix/zuul/message/util/HttpRequestBuilder.java @@ -101,6 +101,11 @@ public HttpRequestBuilder withUri(String uri) { return this; } + public HttpRequestBuilder withPort(int port) { + this.port = port; + return this; + } + /** * Used to build a request with overridden values *