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()
|
containsHeader, getContentType, getHeader, getHeaders, getProtocolVersion, isKeepAlive
boolean 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 nameHttpMethod getMethod()
HttpMethod
Copyright © 2009–2013 Apache MINA Project. All rights reserved.