org.apache.jetspeed.request
Interface RequestContextComponent


public interface RequestContextComponent

RequestContextComponent

Version:
$Id: RequestContextComponent.java 758134 2009-03-25 03:24: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 and stores it on the current thread
 PortletRegistry getPortletRegistry()
           
 RequestContext getRequestContext()
          Get the request context on the current thread
 UserInfoManager getUserInfoManager()
           
 void setRequestContext(RequestContext requestContext)
          Set a new request context on the current (possibly spawned) thread Note: providing a null value effectively clears the request context from the current thread.
 

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 and stores it on the current thread

Parameters:
req -
resp -
config -
Returns:

getRequestContext

RequestContext getRequestContext()
Get the request context on the current thread

Returns:

setRequestContext

void setRequestContext(RequestContext requestContext)
Set a new request context on the current (possibly spawned) thread Note: providing a null value effectively clears the request context from the current thread.

Parameters:
requestContext -

getUserInfoManager

UserInfoManager getUserInfoManager()

getPortletRegistry

PortletRegistry getPortletRegistry()


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