Package play.mvc
Class Router.ActionDefinition
- java.lang.Object
-
- play.mvc.Router.ActionDefinition
-
- Enclosing class:
- Router
public static class Router.ActionDefinition extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.StringactionFIXME - what is this? does it include the class and package?java.util.Map<java.lang.String,java.lang.Object>argsFIXME - are these the required args in the routing file, or the query string in a request?java.lang.StringhostThe domain/host name.java.lang.StringmethodThe HTTP method, e.g.booleanstarWhether the route contains an astericks *.java.lang.StringurlFIXME - what is this? does it include the domain?
-
Constructor Summary
Constructors Constructor Description ActionDefinition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidabsolute()Router.ActionDefinitionadd(java.lang.String key, java.lang.Object value)Router.ActionDefinitionaddRef(java.lang.String fragment)Router.ActionDefinitionremove(java.lang.String key)Router.ActionDefinitionsecure()java.lang.StringtoString()
-
-
-
Field Detail
-
host
public java.lang.String host
The domain/host name.
-
method
public java.lang.String method
The HTTP method, e.g. "GET".
-
url
public java.lang.String url
FIXME - what is this? does it include the domain?
-
star
public boolean star
Whether the route contains an astericks *.
-
action
public java.lang.String action
FIXME - what is this? does it include the class and package?
-
args
public java.util.Map<java.lang.String,java.lang.Object> args
FIXME - are these the required args in the routing file, or the query string in a request?
-
-
Method Detail
-
add
public Router.ActionDefinition add(java.lang.String key, java.lang.Object value)
-
remove
public Router.ActionDefinition remove(java.lang.String key)
-
addRef
public Router.ActionDefinition addRef(java.lang.String fragment)
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
absolute
public void absolute()
-
secure
public Router.ActionDefinition secure()
-
-