Class HttpOverrideForwardedRequest

    • Constructor Detail

      • HttpOverrideForwardedRequest

        public HttpOverrideForwardedRequest()
    • Method Detail

      • forwardOverriddenRequest

        public static HttpOverrideForwardedRequest forwardOverriddenRequest()
        Static builder which will allow overriding proxied request with the specified request.
      • forwardOverriddenRequest

        public static HttpOverrideForwardedRequest forwardOverriddenRequest​(HttpRequest httpRequest)
        Static builder which will allow overriding proxied request with the specified request.
        Parameters:
        httpRequest - the HttpRequest specifying what to override
      • withHttpRequest

        public HttpOverrideForwardedRequest withHttpRequest​(HttpRequest httpRequest)
        All fields, headers, cookies, etc of the provided request will override
        Parameters:
        httpRequest - the HttpRequest specifying what to override