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
A
RequestPairSource is a component that can supply a ServletRequest and
ServletResponse 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
Modifier and TypeMethodDescriptionjavax.servlet.ServletRequestReturns the incomingServletRequestassociated with the component.javax.servlet.ServletResponseReturns the outgoingServletResponsepaired with the incomingservletRequest.
-
Method Details
-
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.
-