"Fossies" - the Fresh Open Source Software archive

Member "httpunit-1.7/doc/api/com/meterware/pseudoserver/HttpRequest.html" of archive httpunit-1.7.zip:


Caution: In this restricted "Fossies" environment the current HTML page may not be correctly presentated and may have some non-functional links. Alternatively you can here view or download the uninterpreted source code. That can be also achieved for any archive member file by clicking within an archive contents listing on the first character of the file(path) respectively on the according byte size field.


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.