org.apache.jetspeed.container.invoker
Interface ContainerRequestResponseUnwrapper


public interface ContainerRequestResponseUnwrapper

ContainerRequestResponseUnwrapper finds the web container servlet request or servlet response suitable for cross-context dispatching from the current container request or response by unwrapping. Third-party module can provide an implementation to decorate the real request or response object of a servlet container for instance to ensure reliable behavior when executing multiple portlet invocations in parallel on top of the same web container request and response.

Version:
$Id$
Author:
Woonsan Ko

Method Summary
 javax.servlet.ServletRequest unwrapContainerRequest(javax.servlet.http.HttpServletRequest containerRequest)
          Unwraps the container request to find the web container servlet request suitable for cross-context request dispatching.
 javax.servlet.ServletResponse unwrapContainerResponse(javax.servlet.http.HttpServletResponse containerResponse)
          Unwraps the container response to find the web container servlet response suitable for cross-context request dispatching.
 

Method Detail

unwrapContainerRequest

javax.servlet.ServletRequest unwrapContainerRequest(javax.servlet.http.HttpServletRequest containerRequest)
Unwraps the container request to find the web container servlet request suitable for cross-context request dispatching.

Parameters:
containerRequest - The container request to be unwrapped.
Returns:
servletRequest The servlet request found by unwrapping.

unwrapContainerResponse

javax.servlet.ServletResponse unwrapContainerResponse(javax.servlet.http.HttpServletResponse containerResponse)
Unwraps the container response to find the web container servlet response suitable for cross-context request dispatching.

Parameters:
containerResponse - The container response to be unwrapped.
Returns:
servletResponse The servlet response found by unwrapping.


Copyright © 1999-2011 The Apache Software Foundation. All Rights Reserved.