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()
Return the HTTP request path
|
containsHeader, getContentType, getHeader, getHeaders, getProtocolVersion, isKeepAlive
boolean containsParameter(String name)
name
- The parameter nameString getParameter(String name)
name
- The parameter nameString getQueryString()
HttpMethod getMethod()
HttpMethod
String getRequestPath()
Copyright © 2004–2022 Apache MINA Project. All rights reserved.