public interface HttpRequest extends HttpMessage
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsParameter(String name)
Determines whether this request contains at least one parameter with the specified name
|
HttpMethod |
getMethod()
Return the HTTP method used for this message
HttpMethod |
String |
getParameter(String name)
Returns the value of a request parameter as a String, or null if the parameter does not exist.
|
Map<String,List<String>> |
getParameters()
|
String |
getQueryString() |
String |
getRequestPath()
Retrurn the HTTP request path
|
containsHeader, getContentType, getHeader, getHeaders, getProtocolVersion, isKeepAliveboolean containsParameter(String name)
name - The parameter nametrue if this request contains at least one parameter with the specified nameString getParameter(String name)
name - The parameter nameString getQueryString()
HttpMethod getMethod()
HttpMethodString getRequestPath()
Copyright © 2004–2017 Apache MINA Project. All rights reserved.