@ Override public HttpRequest replaceUri ( URI newURI ) { return ( new Builder ( ) ) . uri ( newURI ) . headers ( this . httpHeaders ) . overrideConfig ( this . getOverrideConfig ( ) ) . queryParams ( this . queryParams ) . setRetriable ( this . isRetriable ( ) ) . loadBalancerKey ( this . getLoadBalancerKey ( ) ) . verb ( this . getVerb ( ) ) . entity ( this . entity ) . build ( ) ; }
Return a new instance of HttpRequest replacing the URI .