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 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
 HttpServletRequest getRequest()
           
 IRequestCycle getRequestCycle()
           
 HttpServletResponse getResponse()
           
 ResponseBuilder getResponseBuilder()
           
 WebRequest getWebRequest()
           
 WebResponse getWebResponse()
           
 void store(HttpServletRequest request, HttpServletResponse response)
           
 void store(IRequestCycle cycle)
           
 void store(ResponseBuilder builder)
           
 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 HttpServletRequest getRequest()
Specified by:
getRequest in interface RequestGlobals

getResponse

public 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(HttpServletRequest request,
                  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

getResponseBuilder

public ResponseBuilder getResponseBuilder()
Specified by:
getResponseBuilder in interface RequestGlobals

store

public void store(ResponseBuilder builder)
Specified by:
store in interface RequestGlobals


Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.