Groovy Documentation

org.codehaus.groovy.grails.web.servlet.mvc
[Java] Class DefaultRequestStateLookupStrategy

java.lang.Object
  org.codehaus.groovy.grails.web.servlet.mvc.DefaultRequestStateLookupStrategy
All Implemented Interfaces:
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
static java.lang.String DEFAULT_REQUEST_ENCODING

 
Constructor Summary
DefaultRequestStateLookupStrategy()

DefaultRequestStateLookupStrategy(GrailsWebRequest webRequest)

 
Method Summary
java.lang.String getActionName()

java.lang.String getActionName(java.lang.String controllerName)

java.lang.String getCharacterEncoding()

java.lang.String getContextPath()

java.lang.String getControllerName()

void setGrailsApplication(GrailsApplication grailsApplication)

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

DEFAULT_REQUEST_ENCODING

public static final java.lang.String DEFAULT_REQUEST_ENCODING


 
Constructor Detail

DefaultRequestStateLookupStrategy

public DefaultRequestStateLookupStrategy()


DefaultRequestStateLookupStrategy

public DefaultRequestStateLookupStrategy(GrailsWebRequest webRequest)


 
Method Detail

getActionName

public java.lang.String getActionName()


getActionName

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


getCharacterEncoding

public java.lang.String getCharacterEncoding()


getContextPath

public java.lang.String getContextPath()


getControllerName

public java.lang.String getControllerName()


setGrailsApplication

public void setGrailsApplication(GrailsApplication grailsApplication) {
public void setGrailsApplication(GrailsApplication grailsApplication)


 

Groovy Documentation