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 188436 2005-03-23 22:54:30Z ate $
- 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
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)
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-2005 Apache Software Foundation. All Rights Reserved.