org.apache.tapestry.services.impl
Class RequestGlobalsImpl

java.lang.Object
  extended by org.apache.tapestry.services.impl.RequestGlobalsImpl
All Implemented Interfaces:
RequestGlobals

public class RequestGlobalsImpl
extends java.lang.Object
implements RequestGlobals

Wrapper around ThreadLocalStorageused to store and retrieve Servlet API info.

Since:
4.0
Author:
Howard Lewis Ship

Constructor Summary
RequestGlobalsImpl()
           
 
Method Summary
 javax.servlet.http.HttpServletRequest getRequest()
           
 IRequestCycle getRequestCycle()
           
 javax.servlet.http.HttpServletResponse getResponse()
           
 WebRequest getWebRequest()
           
 WebResponse getWebResponse()
           
 void store(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 void store(IRequestCycle cycle)
           
 void store(WebRequest request, WebResponse response)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestGlobalsImpl

public RequestGlobalsImpl()
Method Detail

getWebRequest

public WebRequest getWebRequest()
Specified by:
getWebRequest in interface RequestGlobals

getWebResponse

public WebResponse getWebResponse()
Specified by:
getWebResponse in interface RequestGlobals

getRequest

public javax.servlet.http.HttpServletRequest getRequest()
Specified by:
getRequest in interface RequestGlobals

getResponse

public javax.servlet.http.HttpServletResponse getResponse()
Specified by:
getResponse in interface RequestGlobals

store

public void store(WebRequest request,
                  WebResponse response)
Specified by:
store in interface RequestGlobals

store

public void store(javax.servlet.http.HttpServletRequest request,
                  javax.servlet.http.HttpServletResponse response)
Specified by:
store in interface RequestGlobals

getRequestCycle

public IRequestCycle getRequestCycle()
Specified by:
getRequestCycle in interface RequestGlobals

store

public void store(IRequestCycle cycle)
Specified by:
store in interface RequestGlobals