play.mvc
Class Scope.Params
java.lang.Object
play.mvc.Scope.Params
- Enclosing class:
- Scope
public static class Scope.Params
- extends java.lang.Object
HTTP params
Method Summary |
boolean |
_contains(java.lang.String key)
|
java.util.Map<java.lang.String,java.lang.String[]> |
all()
|
java.util.Map<java.lang.String,java.lang.String> |
allSimple()
|
void |
checkAndParse()
|
static Scope.Params |
current()
|
void |
flash(java.lang.String... params)
|
|
get(java.lang.annotation.Annotation[] annotations,
java.lang.String key,
java.lang.Class<T> type)
|
java.lang.String |
get(java.lang.String key)
|
|
get(java.lang.String key,
java.lang.Class<T> type)
|
java.lang.String[] |
getAll(java.lang.String key)
|
void |
put(java.lang.String key,
java.lang.String value)
|
void |
put(java.lang.String key,
java.lang.String[] values)
|
void |
remove(java.lang.String key)
|
java.util.Map<java.lang.String,java.lang.String[]> |
sub(java.lang.String prefix)
|
java.lang.String |
toString()
|
java.lang.String |
urlEncode()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
current
public static java.lang.ThreadLocal<Scope.Params> current
Scope.Params
public Scope.Params()
current
public static Scope.Params current()
checkAndParse
public void checkAndParse()
put
public void put(java.lang.String key,
java.lang.String value)
put
public void put(java.lang.String key,
java.lang.String[] values)
remove
public void remove(java.lang.String key)
get
public java.lang.String get(java.lang.String key)
get
public <T> T get(java.lang.String key,
java.lang.Class<T> type)
get
public <T> T get(java.lang.annotation.Annotation[] annotations,
java.lang.String key,
java.lang.Class<T> type)
_contains
public boolean _contains(java.lang.String key)
getAll
public java.lang.String[] getAll(java.lang.String key)
all
public java.util.Map<java.lang.String,java.lang.String[]> all()
sub
public java.util.Map<java.lang.String,java.lang.String[]> sub(java.lang.String prefix)
allSimple
public java.util.Map<java.lang.String,java.lang.String> allSimple()
urlEncode
public java.lang.String urlEncode()
flash
public void flash(java.lang.String... params)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object
Guillaume Bort & zenexity - Distributed under Apache 2 licence, without any warrantly