Package org.apache.shiro.web.util
Interface RequestPairSource
-
- All Known Subinterfaces:
WebSessionContext,WebSubject,WebSubjectContext
- All Known Implementing Classes:
DefaultWebSessionContext,DefaultWebSubjectContext,WebDelegatingSubject,WebSessionKey
public interface RequestPairSourceARequestPairSourceis a component that can supply aServletRequestandServletResponsepair 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 javax.servlet.ServletRequestgetServletRequest()Returns the incomingServletRequestassociated with the component.javax.servlet.ServletResponsegetServletResponse()Returns the outgoingServletResponsepaired with the incomingservletRequest.
-
-
-
Method Detail
-
getServletRequest
javax.servlet.ServletRequest getServletRequest()
Returns the incomingServletRequestassociated with the component.- Returns:
- the incoming
ServletRequestassociated with the component.
-
getServletResponse
javax.servlet.ServletResponse getServletResponse()
Returns the outgoingServletResponsepaired with the incomingservletRequest.- Returns:
- the outgoing
ServletResponsepaired with the incomingservletRequest.
-
-