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
 ServletRequest getServletRequest()
          Returns the incoming ServletRequest associated with the component.
 ServletResponse getServletResponse()
          Returns the outgoing ServletResponse paired with the incoming servletRequest.
 

Method Detail

getServletRequest

ServletRequest getServletRequest()
Returns the incoming ServletRequest associated with the component.

Returns:
the incoming ServletRequest associated with the component.

getServletResponse

ServletResponse getServletResponse()
Returns the outgoing ServletResponse paired with the incoming servletRequest.

Returns:
the outgoing ServletResponse paired with the incoming servletRequest.


Copyright © 2004-2014 The Apache Software Foundation. All Rights Reserved.