Uses of Class
org.apache.cactus.WebRequest

Packages that use WebRequest
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.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.configuration Contains the classes that support the configuration of Cactus. 
org.apache.cactus.internal.client   
org.apache.cactus.util Contains various utility classes. 
 

Uses of WebRequest in org.apache.cactus
 

Methods in org.apache.cactus that return WebRequest
 WebRequest WebResponse.getWebRequest()
           
 

Methods in org.apache.cactus with parameters of type WebRequest
 void ServletURL.saveToRequest(WebRequest theRequest)
          Saves the current URL to a WebRequest object.
static java.lang.String Cookie.getCookieDomain(WebRequest theRequest, java.lang.String theRealHost)
          Deprecated. use CookieUtil.getCookieDomain(WebRequest, String)
static int Cookie.getCookiePort(WebRequest theRequest, int theRealPort)
          Deprecated. use CookieUtil.getCookiePort(WebRequest, int)
static java.lang.String Cookie.getCookiePath(WebRequest theRequest, java.lang.String theRealPath)
          Deprecated. use CookieUtil.getCookiePath(WebRequest, String)
 

Constructors in org.apache.cactus with parameters of type WebRequest
WebResponse(WebRequest theRequest, java.net.HttpURLConnection theConnection)
           
RequestDirectives(WebRequest theRequest)
           
 

Uses of WebRequest in org.apache.cactus.client.authentication
 

Methods in org.apache.cactus.client.authentication that return WebRequest
 WebRequest FormAuthentication.getSecurityRequest()
           
 

Methods in org.apache.cactus.client.authentication with parameters of type WebRequest
 void FormAuthentication.configure(WebRequest theRequest, Configuration theConfiguration)
           
 void FormAuthentication.authenticate(WebRequest theRequest, Configuration theConfiguration)
          Authenticate the principal by calling the security URL.
 void BasicAuthentication.configure(WebRequest theRequest, Configuration theConfiguration)
           
 void Authentication.configure(WebRequest theRequest, Configuration theConfiguration)
          Modifies the request so that it will carry authentication information.
 

Uses of WebRequest in org.apache.cactus.client.connector.http
 

Methods in org.apache.cactus.client.connector.http with parameters of type WebRequest
 java.net.HttpURLConnection JdkConnectionHelper.connect(WebRequest theRequest, Configuration theConfiguration)
           
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 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.
 java.net.HttpURLConnection ConnectionHelper.connect(WebRequest theRequest, Configuration theConfiguration)
          Connects to the Cactus Redirector using HTTP.
 

Uses of WebRequest in org.apache.cactus.configuration
 

Methods in org.apache.cactus.configuration with parameters of type WebRequest
 java.lang.String WebConfiguration.getRedirectorURL(WebRequest theRequest)
           
 java.lang.String WebConfiguration.getRedirectorName(WebRequest theRequest)
           
 java.lang.String AbstractWebConfiguration.getRedirectorURL(WebRequest theRequest)
           
 java.lang.String AbstractWebConfiguration.getRedirectorName(WebRequest theRequest)
           
 

Uses of WebRequest in org.apache.cactus.internal.client
 

Methods in org.apache.cactus.internal.client with parameters of type WebRequest
protected  void WebClientTestCaseDelegate.callClientGlobalEnd(WebRequest theRequest, java.net.HttpURLConnection theConnection, java.lang.Object theResponse)
          Call the client tear down up method if it exists.
 java.lang.Object WebClientTestCaseDelegate.callEndMethod(WebRequest theRequest, java.net.HttpURLConnection theConnection)
          Call the test case end method
 

Uses of WebRequest in org.apache.cactus.util
 

Methods in org.apache.cactus.util with parameters of type WebRequest
static java.lang.String CookieUtil.getCookieDomain(WebRequest theRequest, java.lang.String theRealHost)
          Returns the domain that will be used to send the cookies.
static int CookieUtil.getCookiePort(WebRequest theRequest, int theRealPort)
          Returns the port 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 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.getCookieString(WebRequest theRequest, java.net.URL theUrl)
           
static org.apache.commons.httpclient.HttpState CookieUtil.createHttpState(WebRequest theRequest, java.net.URL theUrl)
          Create an HttpClient HttpState object containing all cookies stored in the passed WebRequest object.
 



Copyright © 2000-2003 Apache Software Foundation. All Rights Reserved.