TPTP 4.2.0 Testing Tools Project
Public API Specification

org.eclipse.hyades.test.http.runner
Class HttpRequest

java.lang.Object
  extended byorg.eclipse.hyades.test.http.runner.HttpElement
      extended byorg.eclipse.hyades.test.http.runner.HttpRequest

public class HttpRequest
extends HttpElement

The request is the object that stores the data that is sent from the client (usually a browser) to the server.

Since:
1.0.2

Field Summary
static int CONN_END
           
static int CONN_MID
           
static int CONN_START
           
static int CONN_UNDEFINED
           
static int PAGE_END
           
static int PAGE_MID
           
static int PAGE_ONLY
           
static int PAGE_START
           
static int PAGE_UNDEFINED
           
 
Constructor Summary
HttpRequest()
           
 
Method Summary
 java.lang.String getAbsolutePath()
           
 int getConnID()
           
 int getConnOrder()
           
 java.lang.String getHost()
           
 java.lang.String getMethod()
           
 int getPageNumber()
           
 int getPageOrder()
           
 int getPort()
           
 HttpResponse getResponse()
           
 boolean getSecure()
           
 long getThinkTime()
           
 java.lang.String getURL()
           
 void setAbsolutePath(java.lang.String absolutePath)
           
 void setConnID(int nReq)
           
 void setConnOrder(int nConn)
           
 void setHost(java.lang.String host)
           
 void setMethod(java.lang.String method)
           
 void setPageNumber(int nPage)
           
 void setPageOrder(int nPage)
           
 void setPort(int port)
           
 void setSecure(boolean b)
           
 void setThinkTime(long i_i)
           
 
Methods inherited from class org.eclipse.hyades.test.http.runner.HttpElement
addHeader, getBody, getHeaderIntValues, getHeaders, getHeaders, getHeaderValues, getId, getVersion, removeHeaders, setBody, setVersion
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PAGE_START

public static final int PAGE_START
See Also:
Constant Field Values

PAGE_MID

public static final int PAGE_MID
See Also:
Constant Field Values

PAGE_END

public static final int PAGE_END
See Also:
Constant Field Values

PAGE_ONLY

public static final int PAGE_ONLY
See Also:
Constant Field Values

PAGE_UNDEFINED

public static final int PAGE_UNDEFINED
See Also:
Constant Field Values

CONN_START

public static final int CONN_START
See Also:
Constant Field Values

CONN_MID

public static final int CONN_MID
See Also:
Constant Field Values

CONN_END

public static final int CONN_END
See Also:
Constant Field Values

CONN_UNDEFINED

public static final int CONN_UNDEFINED
See Also:
Constant Field Values
Constructor Detail

HttpRequest

public HttpRequest()
Method Detail

getURL

public java.lang.String getURL()

getAbsolutePath

public java.lang.String getAbsolutePath()
Returns:

setAbsolutePath

public void setAbsolutePath(java.lang.String absolutePath)
Parameters:
absolutePath -

getHost

public java.lang.String getHost()
Returns:

setHost

public void setHost(java.lang.String host)
Parameters:
host -

getMethod

public java.lang.String getMethod()
Returns:

setMethod

public void setMethod(java.lang.String method)
Parameters:
method -

getPort

public int getPort()
Returns:

setPort

public void setPort(int port)
Parameters:
port -

getResponse

public HttpResponse getResponse()

getThinkTime

public long getThinkTime()
Returns:

setThinkTime

public void setThinkTime(long i_i)
Parameters:
i_i -

getPageNumber

public int getPageNumber()

setPageNumber

public void setPageNumber(int nPage)

getConnID

public int getConnID()

setConnID

public void setConnID(int nReq)

getPageOrder

public int getPageOrder()

setPageOrder

public void setPageOrder(int nPage)

getConnOrder

public int getConnOrder()

setConnOrder

public void setConnOrder(int nConn)

getSecure

public boolean getSecure()

setSecure

public void setSecure(boolean b)

TPTP 4.2.0 Testing Tools Project
Public API Specification