org.codehaus.groovy.grails.web.servlet
Class WebRequestDelegatingRequestContext

java.lang.Object
  extended by org.codehaus.groovy.grails.web.servlet.WebRequestDelegatingRequestContext
All Implemented Interfaces:
GrailsRequestContext

public class WebRequestDelegatingRequestContext
extends Object
implements GrailsRequestContext

Delegates calls to a passed GrailsWebRequest instance.

Since:
0.6

Created: Jul 20, 2007 Time: 6:34:25 PM

Author:
Graeme Rocher

Constructor Summary
WebRequestDelegatingRequestContext()
           
 
Method Summary
 ApplicationContext getApplicationContext()
          The ApplicationContext instance
 Writer getOut()
          The response writer
 Map getParams()
          The params object
 HttpServletRequest getRequest()
          The request object
 HttpServletResponse getResponse()
          The response object
 ServletContext getServletContext()
          The servletContext object
 HttpSession getSession()
          The session object
 GrailsWebRequest getWebRequest()
          Retrieves the webRequest objec
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

WebRequestDelegatingRequestContext

public WebRequestDelegatingRequestContext()
Method Detail

getWebRequest

public GrailsWebRequest getWebRequest()
Retrieves the webRequest objec

Returns:
The webrequest object

getRequest

public HttpServletRequest getRequest()
Description copied from interface: GrailsRequestContext
The request object

Specified by:
getRequest in interface GrailsRequestContext
Returns:
The request object

getResponse

public HttpServletResponse getResponse()
Description copied from interface: GrailsRequestContext
The response object

Specified by:
getResponse in interface GrailsRequestContext
Returns:
The response object

getSession

public HttpSession getSession()
Description copied from interface: GrailsRequestContext
The session object

Specified by:
getSession in interface GrailsRequestContext
Returns:
The session object

getServletContext

public ServletContext getServletContext()
Description copied from interface: GrailsRequestContext
The servletContext object

Specified by:
getServletContext in interface GrailsRequestContext
Returns:
The servletContext Object

getParams

public Map getParams()
Description copied from interface: GrailsRequestContext
The params object

Specified by:
getParams in interface GrailsRequestContext
Returns:
The params object

getApplicationContext

public ApplicationContext getApplicationContext()
Description copied from interface: GrailsRequestContext
The ApplicationContext instance

Specified by:
getApplicationContext in interface GrailsRequestContext
Returns:
The ApplicationCOntext

getOut

public Writer getOut()
Description copied from interface: GrailsRequestContext
The response writer

Specified by:
getOut in interface GrailsRequestContext
Returns:
The response writer


Copyright (c) 2005-2006 The Grails project