|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use WebRequest | |
---|---|
com.meterware.httpunit | Classes for testing http server systems. |
com.meterware.servletunit | Classes for unit testing servlets, providing internal access to running servlets using a simulated servlet container. |
Uses of WebRequest in com.meterware.httpunit |
---|
Subclasses of WebRequest in com.meterware.httpunit | |
---|---|
class |
GetMethodWebRequest
An HTTP request using the GET method. |
class |
HeaderOnlyWebRequest
A web request which has no information in its message body. |
class |
HeadMethodWebRequest
A web request using the HEAD method. |
class |
MessageBodyWebRequest
A web request which contains a non-empty message body. |
class |
PostMethodWebRequest
An HTTP request using the POST method. |
class |
PutMethodWebRequest
A web request using the PUT protocol. |
Methods in com.meterware.httpunit that return WebRequest | |
---|---|
WebRequest |
WebResponse.getRefreshRequest()
Returns a request to refresh this page, if any. |
WebRequest |
WebForm.getRequest()
Creates and returns a web request which will simulate the submission of this form with an unnamed submit button. |
abstract WebRequest |
WebRequestSource.getRequest()
Creates and returns a web request from this request source. |
WebRequest |
WebForm.getRequest(java.lang.String submitButtonName)
Creates and returns a web request which will simulate the submission of this form with a button with the specified name. |
WebRequest |
WebForm.getRequest(java.lang.String submitButtonName,
java.lang.String submitButtonValue)
Creates and returns a web request which will simulate the submission of this form with a button with the specified name and value. |
WebRequest |
WebForm.getRequest(SubmitButton button)
Creates and returns a web request which will simulate the submission of this form by pressing the specified button. |
WebRequest |
WebForm.getRequest(SubmitButton button,
int x,
int y)
Creates and returns a web request which will simulate the submission of this form by pressing the specified button. |
WebRequest |
WebForm.newUnvalidatedRequest()
Creates and returns a web request based on the current state of this form. |
WebRequest |
WebForm.newUnvalidatedRequest(SubmitButton button)
Creates and returns a web request which includes the specified button. |
WebRequest |
WebForm.newUnvalidatedRequest(SubmitButton button,
int x,
int y)
Creates and returns a web request which includes the specified button and position. |
Methods in com.meterware.httpunit with parameters of type WebRequest | |
---|---|
WebResponse |
WebWindow.getResource(WebRequest request)
Returns the resource specified by the request. |
WebResponse |
WebClient.getResource(WebRequest request)
Returns the resource specified by the request. |
WebResponse |
WebWindow.getResponse(WebRequest request)
Submits a web request and returns a response, using all state developed so far as stored in cookies as requested by the server. |
WebResponse |
WebClient.getResponse(WebRequest request)
Submits a web request and returns a response, using all state developed so far as stored in cookies as requested by the server. |
protected abstract WebResponse |
WebClient.newResponse(WebRequest request,
FrameSelector targetFrame)
Creates a web response object which represents the response to the specified web request. |
protected WebResponse |
WebConversation.newResponse(WebRequest request,
FrameSelector targetFrame)
Creates a web response object which represents the response to the specified web request. |
void |
WebClientListener.requestSent(WebClient src,
WebRequest req)
Invoked when the web client sends a request. |
WebResponse |
WebWindow.sendRequest(WebRequest request)
Submits a web request and returns a response. |
WebResponse |
WebClient.sendRequest(WebRequest request)
Submits a web request and returns a response. |
protected WebResponse |
WebForm.submitRequest(java.lang.String event,
WebRequest request)
|
protected WebResponse |
WebRequestSource.submitRequest(java.lang.String event,
WebRequest request)
submit the given event for the given request |
protected WebResponse |
WebRequestSource.submitRequest(WebRequest request)
Submits a request to the web client from which this request source was originally obtained. |
protected void |
WebClient.writeMessageBody(WebRequest request,
java.io.OutputStream stream)
Writes the message body for the request. |
Constructors in com.meterware.httpunit with parameters of type WebRequest | |
---|---|
WebRequest(WebRequest baseRequest,
java.lang.String urlString,
java.lang.String target)
Constructs a web request using a base request and a relative URL string. |
Uses of WebRequest in com.meterware.servletunit |
---|
Methods in com.meterware.servletunit with parameters of type WebRequest | |
---|---|
WebResponse |
ServletRunner.getResponse(WebRequest request)
Returns the response from the specified servlet. |
InvocationContext |
InvocationContextFactory.newInvocation(ServletUnitClient client,
FrameSelector targetFrame,
WebRequest request,
java.util.Dictionary clientHeaders,
byte[] messageBody)
Creates and returns a new invocation context to test calling of servlet methods. |
InvocationContext |
ServletUnitClient.newInvocation(WebRequest request)
Creates and returns a new invocation context to test calling of servlet methods. |
protected WebResponse |
ServletUnitClient.newResponse(WebRequest request,
FrameSelector targetFrame)
Creates a web response object which represents the response to the specified web request. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |