Package com.meterware.pseudoserver
Class HttpRequest
java.lang.Object
com.meterware.pseudoserver.HttpRequest
Represents a single HTTP request, extracted from the input stream.
- Since:
- 1.6
-
Method Summary
Modifier and TypeMethodDescriptionReturns the command associated with this request.String[]
getParameter
(String name) Returns the parameter with the specified name.Returns the protocol string specified in the message header for this request.getURI()
Returns the URI specified in the message header for this request.toString()
-
Method Details
-
getCommand
Returns the command associated with this request. -
getURI
Returns the URI specified in the message header for this request. -
getProtocol
Returns the protocol string specified in the message header for this request. -
getParameter
Returns the parameter with the specified name. If no such parameter exists, will return null. -
toString
-