public static class Http.RequestImpl extends play.core.j.RequestHeaderImpl implements Http.Request
| Constructor and Description |
|---|
RequestImpl(play.api.mvc.Request<Http.RequestBody> request) |
RequestImpl(play.api.mvc.RequestHeader header) |
| Modifier and Type | Method and Description |
|---|---|
play.api.mvc.Request<Http.RequestBody> |
_underlyingRequest()
For internal Play-use only
|
Http.RequestBody |
body()
The request body.
|
void |
setUsername(java.lang.String username)
Defines the user name for this request.
|
java.lang.String |
username()
The user name for this request, if defined.
|
_underlyingHeader, acceptedTypes, acceptLanguages, accepts, cookie, cookies, getHeader, getQueryString, hasHeader, headers, host, method, path, queryString, remoteAddress, secure, toString, uri, versionclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait_underlyingHeader, acceptedTypes, acceptLanguages, accepts, cookie, cookies, getHeader, getQueryString, hasHeader, headers, host, method, path, queryString, remoteAddress, secure, uri, versionpublic RequestImpl(play.api.mvc.RequestHeader header)
public RequestImpl(play.api.mvc.Request<Http.RequestBody> request)
public Http.RequestBody body()
body in interface Http.Requestpublic java.lang.String username()
@Authenticated.username in interface Http.Requestpublic void setUsername(java.lang.String username)
setUsername in interface Http.Requestpublic play.api.mvc.Request<Http.RequestBody> _underlyingRequest()
Http.Request_underlyingRequest in interface Http.Request