org.clazzes.util.http.aop
public class HttpAwareSupport extends Object
Constructor and Description |
---|
HttpAwareSupport() |
Modifier and Type | Method and Description |
---|---|
String |
getRequestThreadLocalKey() |
String |
getResponseThreadLocalKey() |
protected javax.servlet.http.HttpServletRequest |
getThreadLocalRequest() |
protected javax.servlet.http.HttpServletResponse |
getThreadLocalResponse() |
void |
setRequestThreadLocalKey(String requestThreadLocalKey) |
void |
setResponseThreadLocalKey(String responseThreadLocalKey) |
protected javax.servlet.http.HttpServletRequest getThreadLocalRequest()
protected javax.servlet.http.HttpServletResponse getThreadLocalResponse()
public String getRequestThreadLocalKey()
HttpServletRequest
has been bound to
the current thread using ThreadLocalManager.bindResource(String, Object)
.public void setRequestThreadLocalKey(String requestThreadLocalKey)
requestThreadLocalKey
- the thread local key under which the
HttpServletRequest
has been bound to the current thread using
ThreadLocalManager.bindResource(String, Object)
to set.public String getResponseThreadLocalKey()
HttpServletResponse
has been bound to
the current thread using ThreadLocalManager.bindResource(String, Object)
.public void setResponseThreadLocalKey(String responseThreadLocalKey)
responseThreadLocalKey
- the thread local key under which the
HttpServletResponse
has been bound to the current thread using
ThreadLocalManager.bindResource(String, Object)
to set.Copyright © 2014 Clazzes.org. All Rights Reserved.