|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface WebSessionContext
A WebSubjectContext is a SessionContext that additionally provides for type-safe
methods to set and retrieve a ServletRequest and ServletResponse, as the request/response pair will
often need to be referenced during construction of web-initiated Session instances.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface java.util.Map |
|---|
Map.Entry<K,V> |
| Method Summary | |
|---|---|
javax.servlet.ServletRequest |
getServletRequest()
Returns the ServletRequest received by the servlet container triggering the creation of the
Session instance. |
javax.servlet.ServletResponse |
getServletResponse()
The paired ServletResponse corresponding to the associated servletRequest. |
void |
setServletRequest(javax.servlet.ServletRequest request)
Sets the ServletRequest received by the servlet container triggering the creation of the
Session instance. |
void |
setServletResponse(javax.servlet.ServletResponse response)
Sets the paired ServletResponse corresponding to the associated servletRequest. |
| Methods inherited from interface org.apache.shiro.session.mgt.SessionContext |
|---|
getHost, getSessionId, setHost, setSessionId |
| Methods inherited from interface java.util.Map |
|---|
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
| Method Detail |
|---|
javax.servlet.ServletRequest getServletRequest()
ServletRequest received by the servlet container triggering the creation of the
Session instance.
getServletRequest in interface RequestPairSourceServletRequest received by the servlet container triggering the creation of the
Session instance.void setServletRequest(javax.servlet.ServletRequest request)
ServletRequest received by the servlet container triggering the creation of the
Session instance.
request - the ServletRequest received by the servlet container triggering the creation of the
Session instance.javax.servlet.ServletResponse getServletResponse()
ServletResponse corresponding to the associated servletRequest.
getServletResponse in interface RequestPairSourceServletResponse corresponding to the associated
servletRequest.void setServletResponse(javax.servlet.ServletResponse response)
ServletResponse corresponding to the associated servletRequest.
response - The paired ServletResponse corresponding to the associated
servletRequest.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||