@Deprecated public abstract static class Http.WrappedContext extends Http.Context
Http.Context.Implicit
args, current
Constructor and Description |
---|
WrappedContext(Http.Context wrapped)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
play.api.mvc.RequestHeader |
_requestHeader()
Deprecated.
|
boolean |
changeLang(Lang lang)
Deprecated.
|
boolean |
changeLang(java.lang.String code)
Deprecated.
|
void |
clearLang()
Deprecated.
|
void |
clearTransientLang()
Deprecated.
|
Http.Flash |
flash()
Deprecated.
|
java.lang.Long |
id()
Deprecated.
|
Lang |
lang()
Deprecated.
|
Messages |
messages()
Deprecated.
|
Http.Request |
request()
Deprecated.
|
Http.Response |
response()
Deprecated.
|
Http.Session |
session()
Deprecated.
|
void |
setTransientLang(Lang lang)
Deprecated.
|
void |
setTransientLang(java.lang.String code)
Deprecated.
|
clear, current, fileMimeTypes, safeCurrent, setCurrent, toString, withRequest
public WrappedContext(Http.Context wrapped)
wrapped
- the context the created instance will wrap@Deprecated public java.lang.Long id()
Http.Context
id
in class Http.Context
@Deprecated public Http.Request request()
Http.Context
request
in class Http.Context
@Deprecated public Http.Response response()
Http.Context
response
in class Http.Context
@Deprecated public Http.Session session()
Http.Context
session
in class Http.Context
@Deprecated public Http.Flash flash()
Http.Context
flash
in class Http.Context
@Deprecated public play.api.mvc.RequestHeader _requestHeader()
Http.Context
_requestHeader
in class Http.Context
@Deprecated public Lang lang()
Http.Context
lang
in class Http.Context
@Deprecated public boolean changeLang(java.lang.String code)
Http.Context
changeLang
in class Http.Context
code
- New lang code to use (e.g. "fr", "en-US", etc.)@Deprecated public boolean changeLang(Lang lang)
Http.Context
changeLang
in class Http.Context
lang
- New Lang object to use@Deprecated public void clearLang()
Http.Context
clearLang
in class Http.Context
@Deprecated public void setTransientLang(java.lang.String code)
Http.Context
setTransientLang
in class Http.Context
code
- the language code to set (e.g. "en-US")@Deprecated public void setTransientLang(Lang lang)
Http.Context
setTransientLang
in class Http.Context
lang
- the language to set@Deprecated public void clearTransientLang()
Http.Context
clearTransientLang
in class Http.Context
@Deprecated public Messages messages()
messages
in class Http.Context