public class WrappedResponseHolder extends java.lang.Object
A holder for the original Wrapped response for use when using includes.
Modifiers | Name | Description |
---|---|---|
private static java.lang.ThreadLocal<javax.servlet.http.HttpServletResponse> |
wrappedResponseHolder |
Type Params | Return Type | Name and description |
---|---|---|
|
public static javax.servlet.http.HttpServletResponse |
getWrappedResponse() Return the HttpServletResponse currently bound to the thread. |
|
public void |
run() |
|
public static void |
setWrappedResponse(javax.servlet.http.HttpServletResponse response) Bind the given HttpServletResponse to the current thread. |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll() |
Return the HttpServletResponse currently bound to the thread.
null
Bind the given HttpServletResponse to the current thread.
response
- the HttpServletResponse to expose