Package | Description |
---|---|
org.apache.cactus |
Contains all classes needed for writing Cactus tests.
|
org.apache.cactus.client.authentication |
Contains classes that support using and testing various authentification schemes.
|
org.apache.cactus.internal |
Contains Cactus internal implementation classes.
|
org.apache.cactus.internal.client.connector.http |
Contains the implementation of the HTTP transport for communication of
the client-side test runner with the server-side redirectors.
|
org.apache.cactus.internal.configuration |
Contains the classes that support the configuration of Cactus.
|
org.apache.cactus.internal.util |
Contains various internal utility classes.
|
Modifier and Type | Method and Description |
---|---|
WebRequest |
WebResponse.getWebRequest() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
Cookie.getCookieDomain(WebRequest theRequest,
java.lang.String theRealHost)
Deprecated.
|
static java.lang.String |
Cookie.getCookiePath(WebRequest theRequest,
java.lang.String theRealPath)
Deprecated.
|
static int |
Cookie.getCookiePort(WebRequest theRequest,
int theRealPort)
Deprecated.
|
void |
ServletURL.saveToRequest(WebRequest theRequest)
Saves the current URL to a
WebRequest object. |
Constructor and Description |
---|
WebResponse(WebRequest theRequest,
java.net.HttpURLConnection theConnection) |
Modifier and Type | Method and Description |
---|---|
WebRequest |
FormAuthentication.getSecurityRequest() |
Modifier and Type | Method and Description |
---|---|
void |
FormAuthentication.authenticate(WebRequest theRequest,
Configuration theConfiguration)
Authenticate the principal by calling the security URL.
|
void |
Authentication.configure(org.apache.commons.httpclient.HttpState theState,
org.apache.commons.httpclient.HttpMethod theMethod,
WebRequest theRequest,
Configuration theConfiguration)
Modifies the request so that it will carry authentication information.
|
void |
BasicAuthentication.configure(org.apache.commons.httpclient.HttpState theState,
org.apache.commons.httpclient.HttpMethod theMethod,
WebRequest theRequest,
Configuration theConfiguration) |
void |
FormAuthentication.configure(org.apache.commons.httpclient.HttpState theState,
org.apache.commons.httpclient.HttpMethod theMethod,
WebRequest theRequest,
Configuration theConfiguration) |
Modifier and Type | Class and Description |
---|---|
class |
BaseWebRequest
Contains all HTTP request data for a test case but independently of
the fact that there is or there is not a Cactus redirector.
|
class |
WebRequestImpl
Extends
BaseWebRequest to add properties specific to the
Cactus Web Redirectors. |
Constructor and Description |
---|
RequestDirectives(WebRequest theRequest) |
Modifier and Type | Method and Description |
---|---|
static java.net.URL |
HttpUtil.addHttpGetParameters(WebRequest theRequest,
java.net.URL theURL)
Add HTTP GET parameters to the URL passed as parameter.
|
java.net.HttpURLConnection |
ConnectionHelper.connect(WebRequest theRequest,
Configuration theConfiguration)
Connects to the Cactus Redirector using HTTP.
|
java.net.HttpURLConnection |
HttpClientConnectionHelper.connect(WebRequest theRequest,
Configuration theConfiguration) |
java.net.HttpURLConnection |
DefaultHttpClient.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.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
AbstractWebConfiguration.getRedirectorName(WebRequest theRequest) |
java.lang.String |
WebConfiguration.getRedirectorName(WebRequest theRequest) |
java.lang.String |
AbstractWebConfiguration.getRedirectorURL(WebRequest theRequest) |
java.lang.String |
WebConfiguration.getRedirectorURL(WebRequest theRequest) |
Modifier and Type | Method and Description |
---|---|
static org.apache.commons.httpclient.Cookie |
CookieUtil.createHttpClientCookie(WebRequest theRequest,
java.net.URL theUrl,
Cookie theCactusCookie)
Create a Commons-HttpClient cookie from a Cactus cookie, with information
from the web request and the URL.
|
static org.apache.commons.httpclient.Cookie[] |
CookieUtil.createHttpClientCookies(WebRequest theRequest,
java.net.URL theUrl)
Transforms an array of Cactus cookies into an array of Commons-HttpClient
cookies, using information from the request and URL.
|
static java.lang.String |
CookieUtil.getCookieDomain(WebRequest theRequest,
java.lang.String theRealHost)
Returns the domain that will be used to send the cookies.
|
static java.lang.String |
CookieUtil.getCookiePath(WebRequest theRequest,
java.lang.String theRealPath)
Returns the path that will be used to validate if a cookie will be
sent or not.
|
static int |
CookieUtil.getCookiePort(WebRequest theRequest,
int theRealPort)
Returns the port that will be used to send the cookies.
|
static java.lang.String |
CookieUtil.getCookieString(WebRequest theRequest,
java.net.URL theUrl) |
Copyright © 2000-2004 Apache Software Foundation. All Rights Reserved.