com.meterware.pseudoserver
Class HttpRequest
public
class
HttpRequest
extends ReceivedHttpMessage
Represents a single HTTP request, extracted from the input stream.
Since: 1.6
Method Summary |
String | getCommand()
Returns the command associated with this request. |
String[] | getParameter(String name)
Returns the parameter with the specified name. |
String | getProtocol()
Returns the protocol string specified in the message header for this request. |
String | getURI()
Returns the URI specified in the message header for this request. |
public String getCommand()
Returns the command associated with this request.
public String[] getParameter(String name)
Returns the parameter with the specified name. If no such parameter exists, will
return null.
public String getProtocol()
Returns the protocol string specified in the message header for this request.
public String getURI()
Returns the URI specified in the message header for this request.