public class DefaultHttpClient
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected WebConfiguration |
configuration
Cactus configuration.
|
| Constructor and Description |
|---|
DefaultHttpClient(WebConfiguration theConfiguration)
Initialize the Http client.
|
| Modifier and Type | Method and Description |
|---|---|
java.net.HttpURLConnection |
doTest(WebRequest theRequest)
Calls the test method indirectly by calling the Redirector servlet and
then open a second HTTP connection to retrieve the test results.
|
protected WebConfiguration configuration
public DefaultHttpClient(WebConfiguration theConfiguration)
theConfiguration - the Cactus configurationpublic java.net.HttpURLConnection doTest(WebRequest theRequest) throws java.lang.Throwable
theRequest - the request containing all data to pass to the
redirector servlet.HttpURLConnection that contains the HTTP
response when the test was called.java.lang.Throwable - if an error occured in the test method or in the
redirector servlet.Copyright © 2000-2004 Apache Software Foundation. All Rights Reserved.