Package: org.grails.plugins.web.rest.render

## [Groovy] Class ServletRenderContext

- org.grails.plugins.web.rest.render.ServletRenderContext

- RenderContext for the servlet environment

  Authors:
    Graeme Rocher
  Since:
    2.3

- - ### Properties Summary

    Properties
    Type | Name and description
    --- | ---
    `java.util.Map<java.lang.String, java.lang.Object>` | `arguments`
    `GrailsWebRequest` | `webRequest`

  - ### Constructor Summary

    Constructors
    Constructor and description
    `ServletRenderContext (GrailsWebRequest webRequest)`
    `ServletRenderContext (GrailsWebRequest webRequest, java.util.Map<java.lang.String, java.lang.Object> arguments)`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `MimeType` | `getAcceptMimeType()`
    `` | `java.lang.String` | `getActionName()`
    `` | `java.lang.String` | `getControllerName()`
    `` | `java.lang.String` | `getControllerNamespace()`
    `` | `org.springframework.http.HttpMethod` | `getHttpMethod()`
    `` | `java.util.Locale` | `getLocale()`
    `` | `protected org.springframework.web.servlet.ModelAndView` | `getModelAndView()`
    `` | `java.lang.String` | `getResourcePath()`
    `` | `java.lang.String` | `getViewName()`
    `` | `java.io.Writer` | `getWriter()`
    `` | `void` | `setContentType(java.lang.String contentType)`
    `` | `void` | `setModel(java.util.Map model)`
    `` | `void` | `setResourcePath(java.lang.String resourcePath)`
    `` | `void` | `setStatus(org.springframework.http.HttpStatus status)`
    `` | `void` | `setViewName(java.lang.String viewName)`
    `` | `boolean` | `wasWrittenTo()`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class java.lang.Object` | `java.lang.Object#wait(long, int), java.lang.Object#wait(long), java.lang.Object#wait(), 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()`

- - ### Property Detail

    - #### java.util.Map<java.lang.String, java.lang.Object> arguments

    - #### GrailsWebRequest webRequest

  - ### Constructor Detail

    - #### ServletRenderContext(GrailsWebRequest webRequest)

    - #### ServletRenderContext(GrailsWebRequest webRequest, java.util.Map<java.lang.String, java.lang.Object> arguments)

  - ### Method Detail

    - #### @java.lang.Override @groovy.transform.CompileStatic(TypeCheckingMode.SKIP) MimeType getAcceptMimeType()

    - #### @java.lang.Override java.lang.String getActionName()

    - #### @java.lang.Override java.lang.String getControllerName()

    - #### @java.lang.Override java.lang.String getControllerNamespace()

    - #### @java.lang.Override org.springframework.http.HttpMethod getHttpMethod()

    - #### @java.lang.Override java.util.Locale getLocale()

    - #### protected org.springframework.web.servlet.ModelAndView getModelAndView()

    - #### @java.lang.Override java.lang.String getResourcePath()

    - #### @java.lang.Override java.lang.String getViewName()

    - #### @java.lang.Override java.io.Writer getWriter()

    - #### @java.lang.Override void setContentType(java.lang.String contentType)

    - #### @java.lang.Override void setModel(java.util.Map model)

    - #### void setResourcePath(java.lang.String resourcePath)

    - #### @java.lang.Override void setStatus(org.springframework.http.HttpStatus status)

    - #### @java.lang.Override void setViewName(java.lang.String viewName)

    - #### @java.lang.Override boolean wasWrittenTo()