public class DefaultRequestStateLookupStrategy extends java.lang.Object implements GrailsRequestStateLookupStrategy
Default implementation that uses the web request to obtain information about the currently executing request.
Modifiers | Name | Description |
---|---|---|
static java.lang.String |
DEFAULT_REQUEST_ENCODING |
|
private GrailsApplication |
grailsApplication |
|
private GrailsWebRequest |
webRequest |
Constructor and description |
---|
DefaultRequestStateLookupStrategy
() |
DefaultRequestStateLookupStrategy
(GrailsWebRequest webRequest) |
Type Params | Return Type | Name and description |
---|---|---|
|
public java.lang.String |
getActionName() |
|
private java.lang.String |
getActionName(GrailsApplication application, java.lang.String controllerName) |
|
public java.lang.String |
getActionName(java.lang.String controllerName) |
|
public java.lang.String |
getCharacterEncoding() |
|
public java.lang.String |
getContextPath() |
|
public java.lang.String |
getControllerName() |
|
private java.lang.String |
getControllerNameInternal(GrailsWebRequest req) |
|
public java.lang.String |
getControllerNamespace() |
|
public java.lang.String |
getHttpMethod() |
|
public GrailsWebRequest |
getWebRequest() |
|
public void |
setGrailsApplication(GrailsApplication grailsApplication) |
Methods inherited from class | Name |
---|---|
class java.lang.Object |
java.lang.Object#wait(long, int), java.lang.Object#wait(), 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() |