@java.lang.SuppressWarnings("rawtypes") public class DefaultGrailsControllerClass extends AbstractInjectableGrailsClass implements GrailsControllerClass
Evaluates the conventions contained within controllers to perform auto-configuration.
Modifiers | Name | Description |
---|---|---|
static java.lang.String |
ALLOWED_HTTP_METHODS_PROPERTY |
|
static java.lang.String |
CONTROLLER |
|
static java.lang.Object[] |
EMPTY_ARGS |
|
static java.lang.String |
SCOPE |
|
static java.lang.String |
SCOPE_SINGLETON |
|
protected java.util.Map<java.lang.String, java.lang.String> |
actionUriToViewName |
Fields inherited from class | Fields |
---|---|
class AbstractGrailsClass |
grailsApplication |
Constructor and description |
---|
DefaultGrailsControllerClass
(java.lang.Class<?> clazz) |
Type Params | Return Type | Name and description |
---|---|---|
|
public java.lang.String |
actionUriToViewName(java.lang.String actionUri) |
|
public java.util.Set<java.lang.String> |
getActions() |
|
public java.lang.String |
getDefaultAction() |
|
public java.lang.String |
getNamespace() |
|
public java.lang.String |
getScope() |
|
public void |
initialize() |
|
public java.lang.Object |
invoke(java.lang.Object controller, java.lang.String action) Invokes the controller action for the given name on the given controller instance |
|
public boolean |
isSingleton() |
|
public boolean |
mapsToURI(java.lang.String uri) |
|
public void |
registerUrlConverter(UrlConverter urlConverter) Register a new UrlConverter with the controller |
|
public void |
setGrailsApplication(GrailsApplication grailsApplication) |
Invokes the controller action for the given name on the given controller instance
controller
- The controller instanceaction
- The action nameRegister a new UrlConverter with the controller
urlConverter
- The UrlConverter to register