Package org.apache.shiro.web.util
Interface RequestPairSource
-
- All Known Subinterfaces:
WebSessionContext
,WebSubject
,WebSubjectContext
- All Known Implementing Classes:
DefaultWebSessionContext
,DefaultWebSubjectContext
,WebDelegatingSubject
,WebSessionKey
public interface RequestPairSource
ARequestPairSource
is a component that can supply aServletRequest
andServletResponse
pair associated with a currently executing request. This is used for framework development support and is rarely used by end-users.- Since:
- 1.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ServletRequest
getServletRequest()
Returns the incomingServletRequest
associated with the component.ServletResponse
getServletResponse()
Returns the outgoingServletResponse
paired with the incomingservletRequest
.
-
-
-
Method Detail
-
getServletRequest
ServletRequest getServletRequest()
Returns the incomingServletRequest
associated with the component.- Returns:
- the incoming
ServletRequest
associated with the component.
-
getServletResponse
ServletResponse getServletResponse()
Returns the outgoingServletResponse
paired with the incomingservletRequest
.- Returns:
- the outgoing
ServletResponse
paired with the incomingservletRequest
.
-
-