public static interface Http.Request extends Http.RequestHeader
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)
Deprecated.
As of release 2.4, use
withUsername(java.lang.String) |
java.lang.String |
username()
The user name for this request, if defined.
|
Http.Request |
withUsername(java.lang.String username)
Returns a request updated with specified user name
|
_underlyingHeader, acceptedTypes, acceptLanguages, accepts, cookie, cookies, getHeader, getQueryString, hasHeader, headers, host, method, path, queryString, remoteAddress, secure, uri, version
Http.RequestBody body()
java.lang.String username()
@Authenticated
.@Deprecated void setUsername(java.lang.String username)
withUsername(java.lang.String)
Http.Request withUsername(java.lang.String username)
username
- the new user nameplay.api.mvc.Request<Http.RequestBody> _underlyingRequest()