com.meterware.pseudoserver
Class HttpRequest

java.lang.Object
  extended bycom.meterware.pseudoserver.ReceivedHttpMessage
      extended bycom.meterware.pseudoserver.HttpRequest

public class HttpRequest
extends com.meterware.pseudoserver.ReceivedHttpMessage

Represents a single HTTP request, extracted from the input stream.

Since:
1.6

Method Summary
 java.lang.String getCommand()
          Returns the command associated with this request.
 java.lang.String[] getParameter(java.lang.String name)
          Returns the parameter with the specified name.
 java.lang.String getProtocol()
          Returns the protocol string specified in the message header for this request.
 java.lang.String getURI()
          Returns the URI specified in the message header for this request.
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getCommand

public java.lang.String getCommand()
Returns the command associated with this request.


getURI

public java.lang.String getURI()
Returns the URI specified in the message header for this request.


getProtocol

public java.lang.String getProtocol()
Returns the protocol string specified in the message header for this request.


getParameter

public java.lang.String[] getParameter(java.lang.String name)
Returns the parameter with the specified name. If no such parameter exists, will return null.


toString

public java.lang.String toString()

Copyright © 2000-2008 Russell Gold. See license agreement for rights granted.