public final class Request extends Message<Request>
A RequestResolver is linked to this class.
RequestResolver
Constructor and Description |
---|
Request()
Creates a new request message.
|
Modifier and Type | Method and Description |
---|---|
RequestCookies |
getCookies()
Returns the incoming request cookies.
|
Form |
getForm()
Returns a copy of the query parameters and
application/x-www-form-urlencoded entity decoded as a form. |
String |
getMethod()
Returns the method to be performed on the resource.
|
MutableUri |
getUri()
Returns the fully-qualified URI of the resource being accessed.
|
Request |
setMethod(String method)
Sets the method to be performed on the resource.
|
Request |
setUri(String uri)
Sets the fully-qualified string URI of the resource being accessed.
|
Request |
setUri(URI uri)
Sets the fully-qualified URI of the resource being accessed.
|
close, getEntity, getHeaders, getVersion, setEntity, setVersion
public Request()
public RequestCookies getCookies()
public Form getForm()
application/x-www-form-urlencoded
entity decoded as a form.
Modifications to the returned form are not reflected in this request.application/x-www-form-urlencoded
entity as a form.public String getMethod()
public MutableUri getUri()
public Request setMethod(String method)
method
- The method to be performed on the resource.public Request setUri(String uri) throws URISyntaxException
uri
- The fully-qualified string URI of the resource being accessed.URISyntaxException
- if the given URI string is not well-formed.Copyright © 2014 ForgeRock AS. All rights reserved.