Overview | Package | Class | Deprecated | Index | Help
| Groovy Documentation
| FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.codehaus.groovy.grails.web.servlet
[Java] Class WebRequestDelegatingRequestContext

    java.lang.Object
      org.codehaus.groovy.grails.web.servlet.WebRequestDelegatingRequestContext

All Implemented Interfaces:
  GrailsRequestContext

    public class WebRequestDelegatingRequestContext

Delegates calls to a passed GrailsWebRequest instance.

Authors:
  Graeme Rocher

Since:
  0.6

Constructor Summary
`WebRequestDelegatingRequestContext()`

Method Summary
`java.lang.String` | `getActionName()`
`ApplicationContext` | `getApplicationContext()`
`java.lang.String` | `getControllerName()`
`java.io.Writer` | `getOut()`
`java.util.Map` | `getParams()`
`HttpServletRequest` | `getRequest()`
`java.lang.String` | `getRequestURI()`
`HttpServletResponse` | `getResponse()`
`ServletContext` | `getServletContext()`
`HttpSession` | `getSession()`
`GrailsWebRequest` | `getWebRequest()` Retrieves the webRequest object.

Methods inherited from class java.lang.Object
java.lang.Object#wait(), java.lang.Object#wait(long), java.lang.Object#wait(long, int), java.lang.Object#equals(java.lang.Object), java.lang.Object#toString(), java.lang.Object#hashCode(), java.lang.Object#getClass(), java.lang.Object#notify(), java.lang.Object#notifyAll()

Constructor Detail

### WebRequestDelegatingRequestContext

    public WebRequestDelegatingRequestContext()

Method Detail

### getActionName

    public java.lang.String getActionName()

### getApplicationContext

    public ApplicationContext getApplicationContext()

### getControllerName

    public java.lang.String getControllerName()

### getOut

    public java.io.Writer getOut()

### getParams

    @SuppressWarnings("rawtypes")
    public java.util.Map getParams()

### getRequest

    public HttpServletRequest getRequest()

### getRequestURI

    public java.lang.String getRequestURI()

### getResponse

    public HttpServletResponse getResponse()

### getServletContext

    public ServletContext getServletContext()

### getSession

    public HttpSession getSession()

### getWebRequest

    public GrailsWebRequest getWebRequest()

  Retrieves the webRequest object.
  Returns:
    The webrequest object

Groovy Documentation