Class HttpRequest

java.lang.Object
com.meterware.pseudoserver.HttpRequest

public class HttpRequest extends Object
Represents a single HTTP request, extracted from the input stream.
Since:
1.6
  • Method Details

    • getCommand

      public String getCommand()
      Returns the command associated with this request.
    • getURI

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

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

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

      public String toString()
      Overrides:
      toString in class Object