public class HttpRequest
extends java.lang.Object
implements java.io.Serializable
IHttpResponseListener.put(String[],LexCommand,HttpRequest,HttpResponse).| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getHeader(java.lang.String name)
Returns the value of the specified request header.
|
java.util.Enumeration |
getHeaderNames()
Returns an enumeration of all the header names this request contains.
|
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 |
getQueryString()
Returns the query string that is contained in the request URL after the path.
|
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.
|
java.lang.String |
getVersion()
Returns the HTTP version used for this request
|
public java.lang.String getMethod()
public java.lang.String getRequestURI()
public java.lang.String getQueryString()
public java.lang.String getVersion()
public java.util.Enumeration getHeaderNames()
public java.lang.String getHeader(java.lang.String name)
name - a (case-insensitive) String specifying the header name