org.apache.jetspeed.request
Class JetspeedRequestContextComponent
java.lang.Object
org.apache.jetspeed.request.JetspeedRequestContextComponent
- All Implemented Interfaces:
- org.apache.jetspeed.request.RequestContextComponent
public class JetspeedRequestContextComponent
- extends Object
- implements org.apache.jetspeed.request.RequestContextComponent
JetspeedRequestContextComponent
- Version:
- $Id: JetspeedRequestContextComponent.java 587064 2007-10-22 11:54:11Z woonsan $
- Author:
- David Sean Taylor
Method Summary |
org.apache.jetspeed.request.RequestContext |
create(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
javax.servlet.ServletConfig config)
|
org.apache.jetspeed.request.RequestContext |
getRequestContext()
|
org.apache.jetspeed.request.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(org.apache.jetspeed.request.RequestContext context)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
contextClassName
private String contextClassName
contextClass
private Class contextClass
userInfoMgr
private org.apache.jetspeed.userinfo.UserInfoManager userInfoMgr
- The user info manager.
tlRequestContext
private ThreadLocal tlRequestContext
requestContextObjects
private Map requestContextObjects
log
private static final org.apache.commons.logging.Log log
JetspeedRequestContextComponent
public JetspeedRequestContextComponent(String contextClassName)
JetspeedRequestContextComponent
public JetspeedRequestContextComponent(String contextClassName,
org.apache.jetspeed.userinfo.UserInfoManager userInfoMgr)
JetspeedRequestContextComponent
public JetspeedRequestContextComponent(String contextClassName,
org.apache.jetspeed.userinfo.UserInfoManager userInfoMgr,
Map requestContextObjects)
create
public org.apache.jetspeed.request.RequestContext create(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
javax.servlet.ServletConfig config)
- Specified by:
create
in interface org.apache.jetspeed.request.RequestContextComponent
release
public void release(org.apache.jetspeed.request.RequestContext context)
- Specified by:
release
in interface org.apache.jetspeed.request.RequestContextComponent
getRequestContext
public org.apache.jetspeed.request.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
- Specified by:
getRequestContext
in interface org.apache.jetspeed.request.RequestContextComponent
- Parameters:
request
-
- Returns:
- RequestContext
getRequestContext
public org.apache.jetspeed.request.RequestContext getRequestContext()
- Specified by:
getRequestContext
in interface org.apache.jetspeed.request.RequestContextComponent
Copyright © 1999-2007 Apache Software Foundation. All Rights Reserved.