A B C D E F G H I J L M O P R S T U V W X

A

AbstractAuthentication - Class in org.apache.cactus.client.authentication
This class was designed with the simple assumption that ALL authentication implementations will have a String Name and a String Password.
AbstractAuthentication(String, String) - Constructor for class org.apache.cactus.client.authentication.AbstractAuthentication
 
AbstractCactusTestCase - Class in org.apache.cactus.internal
Base class for all Cactus test case extensions.
AbstractCactusTestCase() - Constructor for class org.apache.cactus.internal.AbstractCactusTestCase
Default constructor defined in order to allow creating Test Case without needing to define constructor (new feature in JUnit 3.8.1).
AbstractCactusTestCase(String) - Constructor for class org.apache.cactus.internal.AbstractCactusTestCase
Constructs a JUnit test case with the given name.
AbstractCactusTestCase(String, Test) - Constructor for class org.apache.cactus.internal.AbstractCactusTestCase
Wraps a pure JUnit Test Case in a Cactus Test Case.
AbstractHttpServletRequestWrapper - Class in org.apache.cactus.server
Abstract wrapper around HttpServletRequest.
AbstractHttpServletRequestWrapper(HttpServletRequest, ServletURL) - Constructor for class org.apache.cactus.server.AbstractHttpServletRequestWrapper
Construct an HttpServletRequest instance that delegates it's method calls to the request object passed as parameter and that uses the URL passed as parameter to simulate a URL from which the request would come from.
AbstractPageContextWrapper - Class in org.apache.cactus.server
Abstract wrapper around PageContext.
AbstractPageContextWrapper(PageContext, ServletURL) - Constructor for class org.apache.cactus.server.AbstractPageContextWrapper
Construct an PageContext instance that delegates it's method calls to the page context object passed as parameter and that uses the URL passed as parameter to simulate a URL from which the request would come from.
AbstractServletConfigWrapper - Class in org.apache.cactus.server
Abstract wrapper around ServletConfig which overrides the getServletContext() method to return our own wrapper around ServletContext.
AbstractServletConfigWrapper(ServletConfig) - Constructor for class org.apache.cactus.server.AbstractServletConfigWrapper
 
AbstractServletContextWrapper - Class in org.apache.cactus.server
Abstract wrapper around ServletContext.
AbstractServletContextWrapper(ServletContext) - Constructor for class org.apache.cactus.server.AbstractServletContextWrapper
 
AbstractTestSuite - Class in org.apache.cactus.internal
Test Suite that wraps all the tests of the suite in Cactus Test Case objects so that pure JUnit tests can be run on the server side.
AbstractTestSuite() - Constructor for class org.apache.cactus.internal.AbstractTestSuite
 
AbstractTestSuite(Class) - Constructor for class org.apache.cactus.internal.AbstractTestSuite
 
AbstractTestSuite(String) - Constructor for class org.apache.cactus.internal.AbstractTestSuite
 
AbstractWebConfiguration - Class in org.apache.cactus.internal.configuration
Common implementation for all WebConfiguration implementations.
AbstractWebConfiguration() - Constructor for class org.apache.cactus.internal.configuration.AbstractWebConfiguration
 
AbstractWebImplicitObjects - Class in org.apache.cactus.internal.server
Holder class that contains the instances of the implicit objects that exist for all web requests.
AbstractWebImplicitObjects() - Constructor for class org.apache.cactus.internal.server.AbstractWebImplicitObjects
 
AbstractWebTestCaller - Class in org.apache.cactus.internal.server
Responsible for instanciating the TestCase class on the server side, set up the implicit objects and call the test method.
AbstractWebTestCaller(WebImplicitObjects) - Constructor for class org.apache.cactus.internal.server.AbstractWebTestCaller
 
AbstractWebTestController - Class in org.apache.cactus.internal.server
Controller that extracts the requested service from the HTTP request and executes the request.
AbstractWebTestController() - Constructor for class org.apache.cactus.internal.server.AbstractWebTestController
 
addCookie(String, String) - Method in class org.apache.cactus.internal.BaseWebRequest
 
addCookie(String, String, String) - Method in class org.apache.cactus.internal.BaseWebRequest
 
addCookie(Cookie) - Method in class org.apache.cactus.internal.BaseWebRequest
 
addCookie(String, String) - Method in interface org.apache.cactus.WebRequest
Adds a cookie to the request.
addCookie(String, String, String) - Method in interface org.apache.cactus.WebRequest
Adds a cookie to the request.
addCookie(Cookie) - Method in interface org.apache.cactus.WebRequest
Adds a cookie to the request.
addError(Test, Throwable) - Method in class org.apache.cactus.internal.server.runner.WebappTestRunner
 
addError(Test, Throwable) - Method in class org.apache.cactus.internal.server.runner.XMLFormatter
Event called by the base test runner when the test fails with an error.
addFailure(Test, AssertionFailedError) - Method in class org.apache.cactus.internal.server.runner.WebappTestRunner
 
addFailure(Test, AssertionFailedError) - Method in class org.apache.cactus.internal.server.runner.XMLFormatter
Event called by the base test runner when the test fails with a failure.
addHeader(String, String) - Method in class org.apache.cactus.internal.BaseWebRequest
 
addHeader(String, String) - Method in interface org.apache.cactus.WebRequest
Adds a header to the request.
addHttpGetParameters(WebRequest, URL) - Static method in class org.apache.cactus.internal.client.connector.http.HttpUtil
Add HTTP GET parameters to the URL passed as parameter.
addParameter(String, String, String) - Method in class org.apache.cactus.internal.BaseWebRequest
 
addParameter(String, String) - Method in class org.apache.cactus.internal.BaseWebRequest
 
addParameter(String, String, String) - Method in interface org.apache.cactus.WebRequest
Adds a parameter to the request.
addParameter(String, String) - Method in interface org.apache.cactus.WebRequest
Adds a parameter to the request.
addTest(Test) - Method in class org.apache.cactus.internal.AbstractTestSuite
 
addTest(Test) - Method in class org.apache.cactus.ServletTestSuite
 
addTestSuite(Class) - Method in class org.apache.cactus.internal.AbstractTestSuite
 
addTestSuite(Class) - Method in class org.apache.cactus.ServletTestSuite
 
afterTest(ProtocolState) - Method in class org.apache.cactus.internal.client.connector.http.HttpProtocolHandler
 
afterTest(ProtocolState) - Method in interface org.apache.cactus.spi.client.connector.ProtocolHandler
Let the connector implementor clean up after the test.
AssertionFailedErrorWrapper - Error in org.apache.cactus.internal.client
Same as ServletExceptionWrapper except that this exception class extends JUnit AssertionFailedError so that JUnit will print a different message in it's runner console.
AssertionFailedErrorWrapper(String) - Constructor for error org.apache.cactus.internal.client.AssertionFailedErrorWrapper
Standard throwable constructor.
AssertionFailedErrorWrapper() - Constructor for error org.apache.cactus.internal.client.AssertionFailedErrorWrapper
Standard throwable constructor.
AssertionFailedErrorWrapper(String, String, String) - Constructor for error org.apache.cactus.internal.client.AssertionFailedErrorWrapper
The constructor to use to simulate a real exception.
ATTR_ERRORS - Static variable in interface org.apache.cactus.internal.server.runner.XMLConstants
Errors attribute for testsuite elements
ATTR_FAILURES - Static variable in interface org.apache.cactus.internal.server.runner.XMLConstants
Failures attribute for testsuite elements
ATTR_MESSAGE - Static variable in interface org.apache.cactus.internal.server.runner.XMLConstants
Message attribute for failure elements (message of the exception)
ATTR_NAME - Static variable in interface org.apache.cactus.internal.server.runner.XMLConstants
Name attribute for property, testcase and testsuite elements
ATTR_TESTS - Static variable in interface org.apache.cactus.internal.server.runner.XMLConstants
Tests attribute for testsuite elements (number of tests executed)
ATTR_TIME - Static variable in interface org.apache.cactus.internal.server.runner.XMLConstants
Time attribute for testcase and testsuite elements
ATTR_TYPE - Static variable in interface org.apache.cactus.internal.server.runner.XMLConstants
Type attribute for failure and error elements
authenticate(WebRequest, Configuration) - Method in class org.apache.cactus.client.authentication.FormAuthentication
Authenticate the principal by calling the security URL.
Authentication - Interface in org.apache.cactus.client.authentication
Interface for different authentication modules.
AUTOSESSION_NAME_PARAM - Static variable in interface org.apache.cactus.internal.HttpServiceDefinition
Name of the parameter in the HTTP request that specify if a session should be automatically created for the user or not.

B

BaseConfiguration - Class in org.apache.cactus.internal.configuration
Provides access to the Cactus configuration parameters that are independent of any redirector.
BaseConfiguration() - Constructor for class org.apache.cactus.internal.configuration.BaseConfiguration
 
BaseWebRequest - Class in org.apache.cactus.internal
Contains all HTTP request data for a test case but independently of the fact that there is or there is not a Cactus redirector.
BaseWebRequest() - Constructor for class org.apache.cactus.internal.BaseWebRequest
Default constructor that requires that BaseWebRequest.setConfiguration(Configuration) be called before the methods requiring a configuration object.
BaseWebRequest(Configuration) - Constructor for class org.apache.cactus.internal.BaseWebRequest
 
BasicAuthentication - Class in org.apache.cactus.client.authentication
Basic Authentication support.
BasicAuthentication(String, String) - Constructor for class org.apache.cactus.client.authentication.BasicAuthentication
 
BEGIN_METHOD_PREFIX - Static variable in class org.apache.cactus.internal.client.ClientTestCaseCaller
The prefix of a begin test method.

C

CACTUS_CONTEXT_URL_PROPERTY - Static variable in class org.apache.cactus.internal.configuration.BaseConfiguration
Name of Cactus property that specify the URL up to the webapp context.
CACTUS_JSP_REDIRECTOR_NAME_PROPERTY - Static variable in class org.apache.cactus.internal.configuration.DefaultJspConfiguration
Name of the cactus property that specifies the name of the JSP redirector.
CACTUS_SERVLET_REDIRECTOR_NAME_PROPERTY - Static variable in class org.apache.cactus.internal.configuration.DefaultServletConfiguration
Name of the cactus property that specifies the name of the Servlet redirector.
CactusTestCase - Interface in org.apache.cactus.internal
Common interface that must be implemented by all Cactus test cases.
CALL_TEST_SERVICE - Static variable in class org.apache.cactus.internal.ServiceEnumeration
Call test method Service.
callBeginMethod(Request) - Method in class org.apache.cactus.internal.client.ClientTestCaseCaller
Call the test case begin method.
callEndMethod(Request, ResponseObjectFactory) - Method in class org.apache.cactus.internal.client.ClientTestCaseCaller
Call the test case end method
callGlobalBeginMethod(Request) - Method in class org.apache.cactus.internal.client.ClientTestCaseCaller
Call the global begin method.
ChainedException - Exception in org.apache.cactus.util
A checked chained exception.
ChainedException(String) - Constructor for exception org.apache.cactus.util.ChainedException
Create a ChainedException and set the exception error message.
ChainedException(String, Throwable) - Constructor for exception org.apache.cactus.util.ChainedException
Create a ChainedException, set the exception error message along with the exception object that caused this exception.
ChainedException(Throwable) - Constructor for exception org.apache.cactus.util.ChainedException
Create a ChaineException, and set exception object that caused this exception.
ChainedRuntimeException - Exception in org.apache.cactus.util
Represent an exception that should stop the running test.
ChainedRuntimeException(String) - Constructor for exception org.apache.cactus.util.ChainedRuntimeException
Create a ChainedRuntimeException and set the exception error message.
ChainedRuntimeException(String, Throwable) - Constructor for exception org.apache.cactus.util.ChainedRuntimeException
Create a ChainedRuntimeException, set the exception error message along with the exception object that caused this exception.
ChainedRuntimeException(Throwable) - Constructor for exception org.apache.cactus.util.ChainedRuntimeException
Create a ChainedRuntimeException, and set exception object that caused this exception.
checkAsBeginMethod(Method) - Static method in class org.apache.cactus.internal.util.TestCaseImplementChecker
Check if the method is suitable for a begin method.
checkAsEndMethod(Method) - Static method in class org.apache.cactus.internal.util.TestCaseImplementChecker
Check if the method is suitable for a end method.
checkAuthResponse(HttpURLConnection) - Method in class org.apache.cactus.client.authentication.FormAuthentication
Check if the auth step can be considered as succeeded or not.
checkPreAuthResponse(HttpURLConnection) - Method in class org.apache.cactus.client.authentication.FormAuthentication
Check if the pre-auth step can be considered as succeeded or not.
checkTestName(Test) - Static method in class org.apache.cactus.internal.util.TestCaseImplementChecker
Check if the Test to run is properly implemented or not.
CLASS_NAME_PARAM - Static variable in interface org.apache.cactus.internal.HttpServiceDefinition
Name of the parameter in the HTTP request that represents the name of the Test class to call.
ClassLoaderUtils - Class in org.apache.cactus.internal.util
Utiliy methods related to class loading in a webapp environment.
ClassLoaderUtils() - Constructor for class org.apache.cactus.internal.util.ClassLoaderUtils
 
CLIENT_GLOBAL_BEGIN_METHOD - Static variable in class org.apache.cactus.internal.client.ClientTestCaseCaller
The name of the method that is called before each test on the client side (if it exists).
CLIENT_GLOBAL_END_METHOD - Static variable in class org.apache.cactus.internal.client.ClientTestCaseCaller
The name of the method that is called after each test on the client side (if it exists).
ClientException - Exception in org.apache.cactus.internal.client
A Cactus client side exception.
ClientException(String) - Constructor for exception org.apache.cactus.internal.client.ClientException
 
ClientException(String, Throwable) - Constructor for exception org.apache.cactus.internal.client.ClientException
 
ClientException(Throwable) - Constructor for exception org.apache.cactus.internal.client.ClientException
 
ClientTestCaseCaller - Class in org.apache.cactus.internal.client
Provides the ability to run common code before and after each test on the client side.
ClientTestCaseCaller(Test, Test, ProtocolHandler) - Constructor for class org.apache.cactus.internal.client.ClientTestCaseCaller
 
COMMAND_PREFIX - Static variable in interface org.apache.cactus.internal.HttpServiceDefinition
Prefix indicating that a String is an official Cactus command.
config - Variable in class org.apache.cactus.internal.server.ServletImplicitObjects
The Servlet configuration object.
config - Variable in class org.apache.cactus.ServletTestCase
Valid ServletConfig object that you can access from the testXXX(), setUp and tearDown() methods.
configuration - Variable in class org.apache.cactus.internal.client.connector.http.DefaultHttpClient
Cactus configuration.
Configuration - Interface in org.apache.cactus.internal.configuration
Contains all configuration information for the Cactus framework.
ConfigurationInitializer - Class in org.apache.cactus.internal.configuration
Read Cactus configuration files and set the properties found as System properties.
ConfigurationInitializer() - Constructor for class org.apache.cactus.internal.configuration.ConfigurationInitializer
 
configure(HttpState, HttpMethod, WebRequest, Configuration) - Method in interface org.apache.cactus.client.authentication.Authentication
Modifies the request so that it will carry authentication information.
configure(HttpState, HttpMethod, WebRequest, Configuration) - Method in class org.apache.cactus.client.authentication.BasicAuthentication
 
configure(HttpState, HttpMethod, WebRequest, Configuration) - Method in class org.apache.cactus.client.authentication.FormAuthentication
 
connect(WebRequest, Configuration) - Method in interface org.apache.cactus.internal.client.connector.http.ConnectionHelper
Connects to the Cactus Redirector using HTTP.
connect(WebRequest, Configuration) - Method in class org.apache.cactus.internal.client.connector.http.HttpClientConnectionHelper
 
ConnectionHelper - Interface in org.apache.cactus.internal.client.connector.http
Helper class to open an HTTP connection to the server redirector and pass to it HTTP parameters, Cookies and HTTP headers.
context - Variable in class org.apache.cactus.internal.server.AbstractWebImplicitObjects
The Context object.
Cookie - Class in org.apache.cactus
Client cookie.
Cookie(String, String, String) - Constructor for class org.apache.cactus.Cookie
Create a cookie.
CookieUtil - Class in org.apache.cactus.internal.util
Utility methods to manipulate cookies and transform Cactus cookie objects to HttpClient cookie objects.
CookieUtil() - Constructor for class org.apache.cactus.internal.util.CookieUtil
 
countTestCases() - Method in class org.apache.cactus.internal.AbstractTestSuite
 
CREATE_SESSION_SERVICE - Static variable in class org.apache.cactus.internal.ServiceEnumeration
Service used to create an HTTP session so that it is returned in a cookie.
createCactusTestCase(String, Test) - Method in class org.apache.cactus.internal.AbstractTestSuite
 
createCactusTestCase(String, Test) - Method in class org.apache.cactus.ServletTestSuite
 
createCookieHeader(String, String, Cookie[]) - Static method in class org.apache.cactus.internal.util.CookieUtil
Create a HttpClient Header for cookies that matches the domain and path.
createHttpClientCookie(WebRequest, URL, Cookie) - Static method in class org.apache.cactus.internal.util.CookieUtil
Create a Commons-HttpClient cookie from a Cactus cookie, with information from the web request and the URL.
createHttpClientCookies(WebRequest, URL) - Static method in class org.apache.cactus.internal.util.CookieUtil
Transforms an array of Cactus cookies into an array of Commons-HttpClient cookies, using information from the request and URL.
createProtocolHandler() - Method in class org.apache.cactus.internal.AbstractCactusTestCase
Create a protocol handler instance that will be used to connect to the server side.
createProtocolHandler() - Method in class org.apache.cactus.JspTestCase
 
createProtocolHandler() - Method in class org.apache.cactus.ServletTestCase
 
createRequest() - Method in class org.apache.cactus.internal.client.connector.http.HttpProtocolHandler
 
createRequest() - Method in interface org.apache.cactus.spi.client.connector.ProtocolHandler
Create a request object that will be passed to the begin() and beginXXX() methods.
createResponseObjectFactory(ProtocolState) - Method in class org.apache.cactus.internal.client.connector.http.HttpProtocolHandler
 
createResponseObjectFactory(ProtocolState) - Method in interface org.apache.cactus.spi.client.connector.ProtocolHandler
Create a factory that is used by the core to create test response object that will be passed to the endXXX() and end() methods.
createTestSuite(Class) - Method in class org.apache.cactus.internal.AbstractTestSuite
 
createTestSuite(Class) - Method in class org.apache.cactus.ServletTestSuite
 

D

DefaultHttpClient - Class in org.apache.cactus.internal.client.connector.http
Performs the steps necessary to run a test.
DefaultHttpClient(WebConfiguration) - Constructor for class org.apache.cactus.internal.client.connector.http.DefaultHttpClient
Initialize the Http client.
DefaultJspConfiguration - Class in org.apache.cactus.internal.configuration
Provides access to the Cactus configuration parameters related to the JSP Redirector.
DefaultJspConfiguration() - Constructor for class org.apache.cactus.internal.configuration.DefaultJspConfiguration
 
DefaultServletConfiguration - Class in org.apache.cactus.internal.configuration
Provides access to the Cactus configuration parameters related to the Servlet Redirector.
DefaultServletConfiguration() - Constructor for class org.apache.cactus.internal.configuration.DefaultServletConfiguration
 
doCreateSession() - Method in class org.apache.cactus.internal.server.AbstractWebTestCaller
Create an HTTP Session and returns the response that contains the HTTP session as a cookie (unless URL rewriting is used in which case the jsesssionid cookie is not returned).
doGet(JspImplicitObjects) - Method in class org.apache.cactus.server.JspTestRedirector
Handles requests from the jspRedirector.jsp JSP Redirector.
doGet(HttpServletRequest, HttpServletResponse) - Method in class org.apache.cactus.server.runner.ServletTestRunner
Starts the test suite passed as a HTTP parameter
doGet(HttpServletRequest, HttpServletResponse) - Method in class org.apache.cactus.server.ServletTestRedirector
Handle GET requests.
doGetResults() - Method in class org.apache.cactus.internal.server.AbstractWebTestCaller
Return the last test results in the HTTP response.
doGetVersion() - Method in class org.apache.cactus.internal.server.AbstractWebTestCaller
Return the cactus version.
doPost(HttpServletRequest, HttpServletResponse) - Method in class org.apache.cactus.server.ServletTestRedirector
Handle POST request.
doRunTest() - Method in class org.apache.cactus.internal.server.AbstractWebTestCaller
Run the connection test between client and server.
doTest(WebRequest) - Method in class org.apache.cactus.internal.client.connector.http.DefaultHttpClient
Calls the test method indirectly by calling the Redirector servlet and then open a second HTTP connection to retrieve the test results.
doTest() - Method in class org.apache.cactus.internal.server.AbstractWebTestCaller
Calls a test method.

E

END_METHOD_PREFIX - Static variable in class org.apache.cactus.internal.client.ClientTestCaseCaller
The prefix of an end test method.
endTest(Test) - Method in class org.apache.cactus.internal.server.runner.WebappTestRunner
 
endTest(Test) - Method in class org.apache.cactus.internal.server.runner.XMLFormatter
Event called by the base test runner when the test ends.
equals(Object) - Method in class org.apache.cactus.Cookie
Two cookies match if the name, path and domain match.
equals(String) - Method in class org.apache.cactus.internal.ServiceEnumeration
Deprecated. Use ServiceEnumeration.valueOf(java.lang.String) and identity comparison instead of this method
equals(Object) - Method in class org.apache.cactus.internal.ServiceEnumeration
Always compares object identity.
ERROR - Static variable in interface org.apache.cactus.internal.server.runner.XMLConstants
The error element (for a test case)
exceptionClassname - Variable in class org.apache.cactus.internal.client.WebTestResultParser
Parsed exception class name
exceptionMessage - Variable in class org.apache.cactus.internal.client.WebTestResultParser
Parsed exception message
exceptionStacktrace - Variable in class org.apache.cactus.internal.client.WebTestResultParser
Parsed exception stack trace
exceptionToString(Throwable) - Static method in class org.apache.cactus.internal.util.StringUtil
Returns the stack trace of an exception as String.
exceptionToString(Throwable, String[]) - Static method in class org.apache.cactus.internal.util.StringUtil
Returns the stack trace of an exception as String, optionally filtering out line from the stack trac

F

FAILURE - Static variable in interface org.apache.cactus.internal.server.runner.XMLConstants
The failure element (for a test case)
filterLine(String, String[]) - Static method in class org.apache.cactus.internal.util.StringUtil
 
findAttribute(String) - Method in class org.apache.cactus.server.AbstractPageContextWrapper
 
FormAuthentication - Class in org.apache.cactus.client.authentication
Form-based authentication implementation.
FormAuthentication(String, String) - Constructor for class org.apache.cactus.client.authentication.FormAuthentication
 
forward(String) - Method in class org.apache.cactus.server.AbstractPageContextWrapper
 
forward(ServletRequest, ServletResponse) - Method in class org.apache.cactus.server.RequestDispatcherWrapper
Call the original RequestDispatcher forward() method but with the original HTTP request (not the simulation one which would make the servlet engine choke !).

G

generate(TestCase) - Static method in class org.apache.cactus.internal.util.UniqueGenerator
Generates a unique identifier for a Cactus test.
generate(TestCase, long) - Static method in class org.apache.cactus.internal.util.UniqueGenerator
Generates a unique identifier for a Cactus test.
GET_METHOD - Static variable in interface org.apache.cactus.WebRequest
GET Method identifier.
GET_RESULTS_SERVICE - Static variable in class org.apache.cactus.internal.ServiceEnumeration
Get the previous test results Service.
GET_VERSION_SERVICE - Static variable in class org.apache.cactus.internal.ServiceEnumeration
Service that returns a cactus version identifier.
getAttribute(String) - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
 
getAttribute(String) - Method in class org.apache.cactus.server.AbstractPageContextWrapper
 
getAttribute(String, int) - Method in class org.apache.cactus.server.AbstractPageContextWrapper
 
getAttribute(String) - Method in class org.apache.cactus.server.AbstractServletContextWrapper
 
getAttributeNames() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
 
getAttributeNames() - Method in class org.apache.cactus.server.AbstractServletContextWrapper
 
getAttributeNamesInScope(int) - Method in class org.apache.cactus.server.AbstractPageContextWrapper
 
getAttributesScope(String) - Method in class org.apache.cactus.server.AbstractPageContextWrapper
 
getAuthentication() - Method in class org.apache.cactus.internal.BaseWebRequest
 
getAuthentication() - Method in interface org.apache.cactus.WebRequest
 
getAuthType() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
 
getAutomaticSession() - Method in class org.apache.cactus.internal.WebRequestImpl
 
getAutomaticSession() - Method in interface org.apache.cactus.WebRequest
 
getCharacterEncoding() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
 
getComment() - Method in class org.apache.cactus.Cookie
Returns the comment describing the purpose of this cookie, or null if no such comment has been defined.
getConfiguration() - Method in class org.apache.cactus.internal.BaseWebRequest
 
getConnection() - Method in class org.apache.cactus.internal.client.connector.http.HttpProtocolState
 
getConnection() - Method in class org.apache.cactus.WebResponse
 
getContentLength() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
 
getContentType() - Method in class org.apache.cactus.internal.BaseWebRequest
 
getContentType() - Method in class org.apache.cactus.internal.server.runner.XMLTransformer
Returns the content type that will be produced by the XSLT stylesheet after transformation.
getContentType() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
 
getContentType() - Method in interface org.apache.cactus.WebRequest
 
getContext(String) - Method in class org.apache.cactus.server.AbstractServletContextWrapper
 
getContextPath() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
 
getContextPath() - Method in class org.apache.cactus.ServletURL
 
getContextURL() - Method in class org.apache.cactus.internal.configuration.BaseConfiguration
 
getContextURL() - Method in interface org.apache.cactus.internal.configuration.Configuration
 
getCookie(String) - Method in class org.apache.cactus.WebResponse
Return the first cookie found that has the specified name or null if not found.
getCookieDomain(WebRequest, String) - Static method in class org.apache.cactus.Cookie
Deprecated. use CookieUtil.getCookieDomain(WebRequest, String)
getCookieDomain(WebRequest, String) - Static method in class org.apache.cactus.internal.util.CookieUtil
Returns the domain that will be used to send the cookies.
getCookieIgnoreCase(String) - Method in class org.apache.cactus.WebResponse
Return the first cookie found that has the specified name or null if not found.
getCookiePath(WebRequest, String) - Static method in class org.apache.cactus.Cookie
Deprecated. use CookieUtil.getCookiePath(WebRequest, String)
getCookiePath(WebRequest, String) - Static method in class org.apache.cactus.internal.util.CookieUtil
Returns the path that will be used to validate if a cookie will be sent or not.
getCookiePort(WebRequest, int) - Static method in class org.apache.cactus.Cookie
Deprecated. use CookieUtil.getCookiePort(WebRequest, int)
getCookiePort(WebRequest, int) - Static method in class org.apache.cactus.internal.util.CookieUtil
Returns the port that will be used to send the cookies.
getCookies() - Method in class org.apache.cactus.internal.BaseWebRequest
 
getCookies() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
 
getCookies() - Method in interface org.apache.cactus.WebRequest
 
getCookies() - Method in class org.apache.cactus.WebResponse
 
getCookieString(WebRequest, URL) - Static method in class org.apache.cactus.internal.util.CookieUtil
 
getDateHeader(String) - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
 
getDefaultRedirectorName() - Method in class org.apache.cactus.internal.configuration.DefaultJspConfiguration
 
getDefaultRedirectorName() - Method in class org.apache.cactus.internal.configuration.DefaultServletConfiguration
 
getDefaultRedirectorName() - Method in interface org.apache.cactus.internal.configuration.WebConfiguration
 
getDefaultRedirectorURL() - Method in class org.apache.cactus.internal.configuration.AbstractWebConfiguration
 
getDefaultRedirectorURL() - Method in interface org.apache.cactus.internal.configuration.WebConfiguration
 
getDelegatedTest() - Method in class org.apache.cactus.internal.server.ServerTestCaseCaller
 
getDomain() - Method in class org.apache.cactus.Cookie
Returns the domain of this cookie.
getEncoding() - Method in class org.apache.cactus.internal.server.runner.XMLFormatter
 
getErrorMessage() - Method in class org.apache.cactus.internal.server.runner.WebappTestRunner
 
getException() - Method in class org.apache.cactus.server.AbstractPageContextWrapper
 
getExceptionClassName() - Method in class org.apache.cactus.internal.WebTestResult
 
getExceptionMessage() - Method in class org.apache.cactus.internal.WebTestResult
 
getExceptionStackTrace() - Method in class org.apache.cactus.internal.WebTestResult
 
getExpectedAuthResponse() - Method in class org.apache.cactus.client.authentication.FormAuthentication
Get the expected HTTP response status code for an authentication request which should be successful.
getExpiryDate() - Method in class org.apache.cactus.Cookie
Return the expiry date.
getHeader(String) - Method in class org.apache.cactus.internal.BaseWebRequest
 
getHeader(String) - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
 
getHeader(String) - Method in interface org.apache.cactus.WebRequest
Returns the first value corresponding to this header's name.
getHeaderNames() - Method in class org.apache.cactus.internal.BaseWebRequest
 
getHeaderNames() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
 
getHeaderNames() - Method in interface org.apache.cactus.WebRequest
 
getHeaders(String) - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
 
getHeaderValues(String) - Method in class org.apache.cactus.internal.BaseWebRequest
 
getHeaderValues(String) - Method in interface org.apache.cactus.WebRequest
Returns all the values associated with this header's name.
getHost() - Method in class org.apache.cactus.ServletURL
Returns the host name.
getHttpServletRequest() - Method in class org.apache.cactus.internal.server.AbstractWebImplicitObjects
 
getHttpServletRequest() - Method in interface org.apache.cactus.internal.server.WebImplicitObjects
 
getHttpServletResponse() - Method in class org.apache.cactus.internal.server.AbstractWebImplicitObjects
 
getHttpServletResponse() - Method in interface org.apache.cactus.internal.server.WebImplicitObjects
 
getInitializer() - Method in class org.apache.cactus.internal.configuration.BaseConfiguration
 
getInitializer() - Method in interface org.apache.cactus.internal.configuration.Configuration
 
getInitParameter(String) - Method in class org.apache.cactus.server.AbstractServletConfigWrapper
 
getInitParameter(String) - Method in class org.apache.cactus.server.AbstractServletContextWrapper
 
getInitParameterNames() - Method in class org.apache.cactus.server.AbstractServletConfigWrapper
 
getInitParameterNames() - Method in class org.apache.cactus.server.AbstractServletContextWrapper
 
getInputStream() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
 
getInputStream() - Method in class org.apache.cactus.WebResponse
 
getIntHeader(String) - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
 
getJspWriter() - Method in class org.apache.cactus.internal.server.JspImplicitObjects
 
getLoader() - Method in class org.apache.cactus.internal.server.runner.WebappTestRunner
Overridden from BaseTestRunner in order to use either the context class loader or the webapp one.
getLocale() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
 
getLocales() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
 
getLogger() - Method in class org.apache.cactus.internal.client.ClientTestCaseCaller
 
getLogs() - Method in class org.apache.cactus.server.AbstractServletContextWrapper
Returns all the text logs that have been generated using the log() methods so that it is possible to easily assert the content of the logs.
getMajorVersion() - Method in class org.apache.cactus.server.AbstractServletContextWrapper
 
getMethod() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
 
getMimeType(String) - Method in class org.apache.cactus.server.AbstractServletContextWrapper
 
getMinorVersion() - Method in class org.apache.cactus.server.AbstractServletContextWrapper
 
getName() - Method in class org.apache.cactus.client.authentication.AbstractAuthentication
 
getName() - Method in class org.apache.cactus.Cookie
 
getName() - Method in class org.apache.cactus.internal.AbstractTestSuite
 
getNamedDispatcher(String) - Method in class org.apache.cactus.server.AbstractServletContextWrapper
 
getOriginalConfig() - Method in class org.apache.cactus.server.AbstractServletConfigWrapper
 
getOriginalContext() - Method in class org.apache.cactus.server.AbstractServletContextWrapper
 
getOriginalPageContext() - Method in class org.apache.cactus.server.AbstractPageContextWrapper
 
getOriginalRequest() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
 
getOut() - Method in class org.apache.cactus.server.AbstractPageContextWrapper
 
getPage() - Method in class org.apache.cactus.server.AbstractPageContextWrapper
 
getPageContext() - Method in class org.apache.cactus.internal.server.JspImplicitObjects
 
getParameter(String) - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
 
getParameterGet(String) - Method in class org.apache.cactus.internal.BaseWebRequest
 
getParameterGet(String) - Method in interface org.apache.cactus.WebRequest
Returns the first value corresponding to this parameter's name (provided this parameter is passed in the URL).
getParameterNames() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
 
getParameterNamesGet() - Method in class org.apache.cactus.internal.BaseWebRequest
 
getParameterNamesGet() - Method in interface org.apache.cactus.WebRequest
 
getParameterNamesPost() - Method in class org.apache.cactus.internal.BaseWebRequest
 
getParameterNamesPost() - Method in interface org.apache.cactus.WebRequest
 
getParameterPost(String) - Method in class org.apache.cactus.internal.BaseWebRequest
 
getParameterPost(String) - Method in interface org.apache.cactus.WebRequest
Returns the first value corresponding to this parameter's name (provided this parameter is passed in the request body - POST).
getParameterValues(String) - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
 
getParameterValuesGet(String) - Method in class org.apache.cactus.internal.BaseWebRequest
 
getParameterValuesGet(String) - Method in interface org.apache.cactus.WebRequest
Returns all the values corresponding to this parameter's name (provided this parameter is passed in the URL).
getParameterValuesPost(String) - Method in class org.apache.cactus.internal.BaseWebRequest
 
getParameterValuesPost(String) - Method in interface org.apache.cactus.WebRequest
Returns all the values corresponding to this parameter's name (provided this parameter is passed in the request body - POST).
getPassword() - Method in class org.apache.cactus.client.authentication.AbstractAuthentication
 
getPath() - Method in class org.apache.cactus.Cookie
Return the path this cookie is associated with.
getPath(URL) - Static method in class org.apache.cactus.internal.util.UrlUtil
Returns the path part of the URL.
getPath() - Method in class org.apache.cactus.ServletURL
 
getPathInfo() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
 
getPathInfo() - Method in class org.apache.cactus.ServletURL
 
getPathTranslated() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
 
getPort() - Method in class org.apache.cactus.ServletURL
Returns the port.
getProtocol() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
 
getProtocol() - Method in class org.apache.cactus.ServletURL
 
getQuery(URL) - Static method in class org.apache.cactus.internal.util.UrlUtil
Returns the query string of the URL.
getQueryString() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
 
getQueryString() - Method in class org.apache.cactus.ServletURL
 
getQueryStringParameter(String, String) - Static method in class org.apache.cactus.internal.server.ServletUtil
A substitute method for HttpServletRequest.getParameter().
getReader() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
 
getRealPath(String) - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
 
getRealPath(String) - Method in class org.apache.cactus.server.AbstractServletContextWrapper
 
getRedirectorName(WebRequest) - Method in class org.apache.cactus.internal.configuration.AbstractWebConfiguration
 
getRedirectorName(WebRequest) - Method in interface org.apache.cactus.internal.configuration.WebConfiguration
 
getRedirectorName() - Method in class org.apache.cactus.internal.WebRequestImpl
 
getRedirectorName() - Method in interface org.apache.cactus.WebRequest
 
getRedirectorURL(WebRequest) - Method in class org.apache.cactus.internal.configuration.AbstractWebConfiguration
 
getRedirectorURL(WebRequest) - Method in interface org.apache.cactus.internal.configuration.WebConfiguration
 
getRemoteAddr() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
 
getRemoteHost() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
 
getRemoteUser() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
 
getRequest() - Method in class org.apache.cactus.server.AbstractPageContextWrapper
 
getRequestDispatcher(String) - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
 
getRequestDispatcher(String) - Method in class org.apache.cactus.server.AbstractServletContextWrapper
 
getRequestedSessionId() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
 
getRequestURI() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
 
getResource(String) - Method in class org.apache.cactus.server.AbstractServletContextWrapper
 
getResourceAsStream(String) - Method in class org.apache.cactus.server.AbstractServletContextWrapper
 
getResponse() - Method in class org.apache.cactus.server.AbstractPageContextWrapper
 
getResponseObject(String, Request) - Method in class org.apache.cactus.internal.client.WebResponseObjectFactory
 
getResponseObject(String, Request) - Method in interface org.apache.cactus.spi.client.ResponseObjectFactory
Constructs response object that are passed as parameter to endXXX() and global end methods.
getResponseWriter() - Method in class org.apache.cactus.internal.server.AbstractWebTestCaller
 
getResponseWriter() - Method in class org.apache.cactus.internal.server.JspTestCaller
 
getResponseWriter() - Method in class org.apache.cactus.internal.server.ServletTestCaller
 
getScheme() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
 
getSecurityCheckURL(Configuration) - Method in class org.apache.cactus.client.authentication.FormAuthentication
This returns the URL to use when attempting to log in.
getSecurityRequest() - Method in class org.apache.cactus.client.authentication.FormAuthentication
 
getServerInfo() - Method in class org.apache.cactus.server.AbstractServletContextWrapper
 
getServerName() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
 
getServerName() - Method in class org.apache.cactus.ServletURL
 
getServerPort() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper
 
getServlet(String) - Method in class org.apache.cactus.server.AbstractServletContextWrapper
 
getServletConfig() - Method in class org.apache.cactus.internal.server.ServletImplicitObjects
 
getServletConfig() - Method in class org.apache.cactus.server.AbstractPageContextWrapper
 
getServletContext() - Method in class org.apache.cactus.internal.server.AbstractWebImplicitObjects
 
getServletContext() - Method in interface org.apache.cactus.internal.server.WebImplicitObjects
 
getServletContext() - Method in class org.apache.cactus.server.AbstractPageContextWrapper
 
getServletContext() - Method in class org.apache.cactus.server.AbstractServletConfigWrapper
 
getServletName() - Method in class org.apache.cactus.server.AbstractServletConfigWrapper
 
getServletNames() - Method in class org.apache.cactus.server.AbstractServletContextWrapper
 
getServletPath() - Method in class org.apache.cactus.server.AbstractHttpServletRequestWrapper