public interface ApiRequest extends IncomingMessage
ApiRequest
object provides data including parameter name and values, attributes, body of the message, as well as additional protocol-specific data (for example, HTTP method).Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMethod()
Returns the name of the HTTP method with which this request was made, for example, GET, POST, or PUT.
|
java.lang.String |
getPathInfo()
Returns any extra path information associated with the URL the client sent when it made this request.
|
java.util.Map<java.lang.String,java.util.List<java.lang.String>> |
getQueryParams()
Retrieves the query parameters
|
java.lang.String |
getQueryString()
Retrieves the query string
|
java.lang.String |
getRemoteHost()
Returns the fully qualified name of the client or the last proxy that sent the request.
|
java.lang.String |
getRequestURI()
Returns the part of this request's URL from the protocol name up to the query string in the first line of the HTTP request.
|
getBody, getHeader, getHeaders
java.util.Map<java.lang.String,java.util.List<java.lang.String>> getQueryParams()
java.lang.String getQueryString()
java.lang.String getMethod()
java.lang.String getPathInfo()
java.lang.String getRequestURI()
java.lang.String getRemoteHost()