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.String
action
FIXME - what is this? does it include the class and package?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?java.lang.String
host
The domain/host name.java.lang.String
method
The HTTP method, e.g.boolean
star
Whether the route contains an astericks *.java.lang.String
url
FIXME - 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 void
absolute()
Router.ActionDefinition
add(java.lang.String key, java.lang.Object value)
Router.ActionDefinition
addRef(java.lang.String fragment)
Router.ActionDefinition
remove(java.lang.String key)
Router.ActionDefinition
secure()
java.lang.String
toString()
-
-
-
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:
toString
in classjava.lang.Object
-
absolute
public void absolute()
-
secure
public Router.ActionDefinition secure()
-
-