org.apache.jetspeed.request
Interface RequestContextComponent


public interface RequestContextComponent

RequestContextComponent

Version:
$Id: RequestContextComponent.java 516448 2007-03-09 16:25:47Z ate $
Author:
David Sean Taylor

Method Summary
 RequestContext create(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp, javax.servlet.ServletConfig config)
          Creates a request context for the given servlet request.
 RequestContext getRequestContext()
           
 RequestContext getRequestContext(javax.servlet.http.HttpServletRequest request)
          The servlet request can always get you back to the Request Context if you need it This static accessor provides this capability
 void release(RequestContext context)
          Release a request context back to the context pool.
 

Method Detail

create

RequestContext create(javax.servlet.http.HttpServletRequest req,
                      javax.servlet.http.HttpServletResponse resp,
                      javax.servlet.ServletConfig config)
Creates a request context for the given servlet request.

Parameters:
req -
resp -
config -
Returns:

release

void release(RequestContext context)
Release a request context back to the context pool.

Parameters:
context -

getRequestContext

RequestContext getRequestContext(javax.servlet.http.HttpServletRequest request)
The servlet request can always get you back to the Request Context if you need it This static accessor provides this capability

Parameters:
request -
Returns:
RequestContext

getRequestContext

RequestContext getRequestContext()


Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.