public final class WrappedResponseHolder extends Object
A holder for the original Wrapped response for use when using includes.
Type Params | Return Type | Name and description |
---|---|---|
|
public static HttpServletResponse |
getWrappedResponse() Return the HttpServletResponse currently bound to the thread. |
|
public static void |
setWrappedResponse(HttpServletResponse response) Bind the given HttpServletResponse to the current thread. |
Return the HttpServletResponse currently bound to the thread.
null
Bind the given HttpServletResponse to the current thread.
response
- the HttpServletResponse to expose