From 69f1814dc643020e52c46bef45a14d744d0e05dc Mon Sep 17 00:00:00 2001 From: Justin Guerra Date: Thu, 1 Feb 2024 10:31:21 -0700 Subject: [PATCH] Add ability to change port on builder --- .../com/netflix/zuul/message/util/HttpRequestBuilder.java | 5 +++++ 1 file changed, 5 insertions(+) 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 *