the response to be created
an optional mutation that may be applied to every line of the body content.
Provides access to the response from the downstream server.
Provides access to the response from the downstream server. This is not available until the request has been executed, which must be handled by the calling code.
Provides the means to capture the response from the downstream server.
Sends the response back to the client via the HttpServletResponse
.
Sends the response back to the client via the HttpServletResponse
.
Optionally, sets extra response cookies before sending the response.
Optionally, sets extra response headers before sending the response.
Adapts HTTP Servlet response objects to the Light Http Client API. This allows a variety of solutions such as reverse proxying to be implemented easily. Outline usage:
The
adapter.response
is not available until *after* executing the http request; a NoSuchElementException will occur if it is accessed beforehand.(Since version 0.25.1) This will be removed from future versions.