Package: org.grails.web.servlet.mvc

## [Java] Class DefaultRequestStateLookupStrategy

- org.grails.web.servlet.mvc.DefaultRequestStateLookupStrategy

- All Implemented Interfaces and Traits:
    GrailsRequestStateLookupStrategy

      public class DefaultRequestStateLookupStrategy
      extends java.lang.Object

  Default implementation that uses the web request to obtain information about the currently executing request.

  Authors:
    Graeme Rocher
  Since:
    2.0

- - ### Field Summary

    Fields
    Modifiers | Name | Description
    --- | --- | ---
    `static java.lang.String` | `DEFAULT_REQUEST_ENCODING` |

  - ### Constructor Summary

    Constructors
    Constructor and description
    `DefaultRequestStateLookupStrategy ()`
    `DefaultRequestStateLookupStrategy (GrailsWebRequest webRequest)`

  - ### Methods Summary

    Methods
    Type Params | Return Type | Name and description
    --- | --- | ---
    `` | `java.lang.String` | `getActionName()`
    `` | `java.lang.String` | `getActionName(java.lang.String controllerName)`
    `` | `java.lang.String` | `getCharacterEncoding()`
    `` | `java.lang.String` | `getContextPath()`
    `` | `java.lang.String` | `getControllerName()`
    `` | `java.lang.String` | `getControllerNamespace()`
    `` | `java.lang.String` | `getHttpMethod()`
    `` | `GrailsWebRequest` | `getWebRequest()`
    `` | `void` | `setGrailsApplication(GrailsApplication grailsApplication)`

  - ### 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()`

- - ### Field Detail

    - #### public static final java.lang.String DEFAULT_REQUEST_ENCODING

  - ### Constructor Detail

    - #### public DefaultRequestStateLookupStrategy()

    - #### public DefaultRequestStateLookupStrategy(GrailsWebRequest webRequest)

  - ### Method Detail

    - #### public java.lang.String getActionName()

    - #### public java.lang.String getActionName(java.lang.String controllerName)

    - #### public java.lang.String getCharacterEncoding()

    - #### public java.lang.String getContextPath()

    - #### public java.lang.String getControllerName()

    - #### public java.lang.String getControllerNamespace()

    - #### @java.lang.Override public java.lang.String getHttpMethod()

    - #### public GrailsWebRequest getWebRequest()

    - #### @org.springframework.beans.factory.annotation.Autowired public void setGrailsApplication(GrailsApplication grailsApplication)