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, version
clone, 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, version
public RequestImpl(play.api.mvc.RequestHeader header)
public RequestImpl(play.api.mvc.Request<Http.RequestBody> request)
public Http.RequestBody body()
body
in interface Http.Request
public java.lang.String username()
@Authenticated
.username
in interface Http.Request
public void setUsername(java.lang.String username)
setUsername
in interface Http.Request
public play.api.mvc.Request<Http.RequestBody> _underlyingRequest()
Http.Request
_underlyingRequest
in interface Http.Request