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

A

AbstractReporter - class org.apache.commons.latka.AbstractReporter.
The base class for several 'reporters'.
AbstractReporter() - Constructor for class org.apache.commons.latka.AbstractReporter
 
addCookie(String, String, String, String) - Method in interface org.apache.commons.latka.http.Session
Adds a cookie to all HTTP requests whose domain and path match (according to RFC2109).
addCookie(String, String, String, String) - Method in class org.apache.commons.latka.http.SessionImpl
Adds a cookie to all HTTP requests whose domain and path match (according to RFC2109).
addHeader(String, String) - Method in interface org.apache.commons.latka.http.Request
Sets a request header.
addHeader(String, String) - Method in interface org.apache.commons.latka.http.RequestHeaders
Add a header to the request
addHeader(String, String) - Method in class org.apache.commons.latka.http.RequestHeadersImpl
Defined in interface
addHeader(String, String) - Method in class org.apache.commons.latka.http.RequestImpl
Set a header in the request
addHttpClientParameter(String, String) - Method in class org.apache.commons.latka.http.RequestImpl
Associate a parameter with this request.
addListener(LatkaEventListener) - Method in class org.apache.commons.latka.event.LatkaEventPublisher
add a LatkaEventListener to the list of publishees.
addParameter(String, String) - Method in interface org.apache.commons.latka.http.Parameters
Add a parameter to the request
addParameter(String, String) - Method in class org.apache.commons.latka.http.ParametersImpl
Defined in interface
addParameter(String, String) - Method in interface org.apache.commons.latka.http.Request
Associate a parameter with this request.
addParameter(String, String) - Method in class org.apache.commons.latka.http.RequestImpl
Add a parameter (name and value) to the request
assertTrue(Response) - Method in class org.apache.commons.latka.validators.BaseConditionalValidator
Return true or false, depending on whether or not the test conditions were met.
assertTrue(Response) - Method in class org.apache.commons.latka.validators.CookieValidator
 
assertTrue(Response) - Method in class org.apache.commons.latka.validators.RegexpValidator
 
assertTrue(Response) - Method in class org.apache.commons.latka.validators.ResponseHeaderValidator
Checks to see that the header exists, and also checks its value if setHeaderValue(String) has been called
assertTrue(Response) - Method in class org.apache.commons.latka.validators.XPathValidator
 

B

BARE_EXCEPTION_MESSAGE - Static variable in class org.apache.commons.latka.validators.RegexpValidator
 
BARE_MESSAGE_EQUAL_VALUES - Static variable in class org.apache.commons.latka.validators.CookieValidator
 
BARE_MESSAGE_EQUAL_VALUES - Static variable in class org.apache.commons.latka.validators.ResponseHeaderValidator
 
BARE_MESSAGE_EXISTENT_COOKIE - Static variable in class org.apache.commons.latka.validators.CookieValidator
 
BARE_MESSAGE_EXISTENT_HEADER - Static variable in class org.apache.commons.latka.validators.ResponseHeaderValidator
 
BaseConditionalValidator - class org.apache.commons.latka.validators.BaseConditionalValidator.
This subclass of BaseValidator largely removes the need of a validator to know whether a particular test is supposed to succeed or fail.
BaseConditionalValidator(boolean) - Constructor for class org.apache.commons.latka.validators.BaseConditionalValidator
A test without a label
BaseConditionalValidator(String, boolean) - Constructor for class org.apache.commons.latka.validators.BaseConditionalValidator
A test with a label
BaseRequestEvent - class org.apache.commons.latka.event.BaseRequestEvent.
The base class for request events fired by latka.
BaseRequestEvent(Request, Response) - Constructor for class org.apache.commons.latka.event.BaseRequestEvent
Store the request, response and session for later retrieval
BaseValidator - class org.apache.commons.latka.validators.BaseValidator.
 
BaseValidator() - Constructor for class org.apache.commons.latka.validators.BaseValidator
 
BaseValidator(String) - Constructor for class org.apache.commons.latka.validators.BaseValidator
 
ByteLengthTag - class org.apache.commons.latka.jelly.validators.ByteLengthTag.
A class to check the size of an HTTP response
ByteLengthTag() - Constructor for class org.apache.commons.latka.jelly.validators.ByteLengthTag
 
ByteLengthValidator - class org.apache.commons.latka.validators.ByteLengthValidator.
FIXME: Docs
ByteLengthValidator() - Constructor for class org.apache.commons.latka.validators.ByteLengthValidator
 
ByteLengthValidator(String) - Constructor for class org.apache.commons.latka.validators.ByteLengthValidator
 
ByteLengthValidator(int, int) - Constructor for class org.apache.commons.latka.validators.ByteLengthValidator
 
ByteLengthValidator(String, int, int) - Constructor for class org.apache.commons.latka.validators.ByteLengthValidator
 
broadcastEvent(LatkaEvent) - Method in class org.apache.commons.latka.event.LatkaEventPublisher
Send the provided event object to all registered listeners
broadcastEvent(LatkaEvent, LatkaEventListener) - Method in class org.apache.commons.latka.event.LatkaEventPublisher
Send the provided event to the provided listener
buildJellyContext() - Method in class org.apache.commons.latka.Latka
 

C

CookieTag - class org.apache.commons.latka.jelly.validators.CookieTag.
A class to check for the existence and value of cookies
CookieTag() - Constructor for class org.apache.commons.latka.jelly.validators.CookieTag
 
CookieValidator - class org.apache.commons.latka.validators.CookieValidator.
CookieValidator validates cookie existence and/or value in an HTTP session.
CookieValidator() - Constructor for class org.apache.commons.latka.validators.CookieValidator
 
CookieValidator(String) - Constructor for class org.apache.commons.latka.validators.CookieValidator
 
CookieValidator(String, String) - Constructor for class org.apache.commons.latka.validators.CookieValidator
 
CookieValidator(String, String, String, boolean) - Constructor for class org.apache.commons.latka.validators.CookieValidator
 
Credentials - interface org.apache.commons.latka.http.Credentials.
Used for authentication
CredentialsImpl - class org.apache.commons.latka.http.CredentialsImpl.
Concrete Implementation of Credentials
CredentialsImpl(String, String) - Constructor for class org.apache.commons.latka.http.CredentialsImpl
Create credentials given user name and password
CredentialsTag - class org.apache.commons.latka.jelly.CredentialsTag.
Basic authentication support for requests
CredentialsTag() - Constructor for class org.apache.commons.latka.jelly.CredentialsTag
 
closeConnection() - Method in class org.apache.commons.latka.http.RequestImpl
Closes the http connection associated with the request
compare(byte[], byte[]) - Method in class org.apache.commons.latka.validators.GoldenFileValidator
 
compareWeak(String, String) - Method in class org.apache.commons.latka.validators.GoldenFileValidator
 
countTestCases() - Method in class org.apache.commons.latka.junit.JUnitTestAdapter
Provides access, post-parsing, of the number of request elements in the Latka Suite
createRequest(URL, int, String) - Method in interface org.apache.commons.latka.http.Session
Creates a request object with the specified URL, HTTP Method, and version.
createRequest(String, URL, int, String, boolean) - Method in interface org.apache.commons.latka.http.Session
Creates a labeled request object, with the specified URL, HTTP Method, version, and redirect handling behavior.
createRequest(URL, int, Proxy, String) - Method in interface org.apache.commons.latka.http.Session
Creates a request object with the specified URL, HTTP Method, and version to be accessed via the provided proxy.
createRequest(String, URL, int, String, boolean, Proxy) - Method in interface org.apache.commons.latka.http.Session
Create a labeled request with the specified URL, HTTP method, version, and redirect handling behavior, using the given proxy for communication.
createRequest(URL, int, String) - Method in class org.apache.commons.latka.http.SessionImpl
Creates a request object with the specified URL, HTTP Method, and version.
createRequest(String, URL, int, String, boolean) - Method in class org.apache.commons.latka.http.SessionImpl
Creates a labeled request object with the specified URL, HTTP Method, version, and redirect handling behavior.
createRequest(URL, int, Proxy, String) - Method in class org.apache.commons.latka.http.SessionImpl
Creates a request object with the specified URL, HTTP Method, and version to be accessed via the provided proxy.
createRequest(String, URL, int, String, boolean, Proxy) - Method in class org.apache.commons.latka.http.SessionImpl
Create a labeled request , with the specified URL, HTTP method, version, and redirect handling behavior, using the given proxy for communications.
createRequestElement(RequestEvent) - Method in class org.apache.commons.latka.XMLReporter
Utility method that converts a RequestEvent object to its corresponding element in the dom4j object.
createTestFromFile(String) - Static method in class org.apache.commons.latka.junit.JUnitTestAdapter
Create a Test from a Latka file
createTestFromFile(File) - Static method in class org.apache.commons.latka.junit.JUnitTestAdapter
Create a Test from a Java file
createTestFromResource(String) - Static method in class org.apache.commons.latka.junit.JUnitTestAdapter
Create a Test from a resource accessible via the class loader
createTestFromURL(String) - Static method in class org.apache.commons.latka.junit.JUnitTestAdapter
Create a Test from a String containing a URL whose contents are in Latka's XML format
createTestFromURL(URL) - Static method in class org.apache.commons.latka.junit.JUnitTestAdapter
Create a Test from a URL whose contents are in Latka's XML format

D

DefaultLatkaEventInfo - class org.apache.commons.latka.DefaultLatkaEventInfo.
The base class for several 'reporters'.
DefaultLatkaEventInfo(LatkaEventListener) - Constructor for class org.apache.commons.latka.DefaultLatkaEventInfo
 
didRequestSucceed(Request) - Method in class org.apache.commons.latka.DefaultLatkaEventInfo
Check to see if a particular Request succeeded or failed.
didRequestSucceed(Request) - Method in interface org.apache.commons.latka.event.LatkaEventInfo
Check to see if a particular Request succeeded or failed.
didSessionSucceed(Session) - Method in class org.apache.commons.latka.DefaultLatkaEventInfo
Check to see if a particular Session succeeded or failed.
didSessionSucceed(Session) - Method in interface org.apache.commons.latka.event.LatkaEventInfo
Check to see if a particular Session succeeded or failed.
didSuiteSucceed() - Method in class org.apache.commons.latka.DefaultLatkaEventInfo
Returns true if all Requests in the suite succeed.
didSuiteSucceed() - Method in interface org.apache.commons.latka.event.LatkaEventInfo
Returns true if all Requests in the suite succeed.
doGet(HttpServletRequest, HttpServletResponse) - Method in class org.apache.commons.latka.servlet.ViewResponseServlet
Perform a get request
doGet(HttpServletRequest, HttpServletResponse) - Method in class org.apache.commons.latka.servlet.ViewSuiteServlet
Perform a get request
doPost(HttpServletRequest, HttpServletResponse) - Method in class org.apache.commons.latka.servlet.ViewResponseServlet
Perform a post request
doPost(HttpServletRequest, HttpServletResponse) - Method in class org.apache.commons.latka.servlet.ViewSuiteServlet
perform a get request
doTag(XMLOutput) - Method in class org.apache.commons.latka.jelly.CredentialsTag
Set user credentials
doTag(XMLOutput) - Method in class org.apache.commons.latka.jelly.ParameterNameTag
 
doTag(XMLOutput) - Method in class org.apache.commons.latka.jelly.ParameterTag
 
doTag(XMLOutput) - Method in class org.apache.commons.latka.jelly.ParameterValueTag
 
doTag(XMLOutput) - Method in class org.apache.commons.latka.jelly.ReportMessageTag
Send a report message to the listener
doTag(XMLOutput) - Method in class org.apache.commons.latka.jelly.RequestBodyTag
 
doTag(XMLOutput) - Method in class org.apache.commons.latka.jelly.RequestHeaderTag
Set user credentials
doTag(XMLOutput) - Method in class org.apache.commons.latka.jelly.RequestTag
Wraps Latka tests, provides some defaults for host, port etc.
doTag(XMLOutput) - Method in class org.apache.commons.latka.jelly.SessionTag
 
doTag(XMLOutput) - Method in class org.apache.commons.latka.jelly.SuiteTag
Wraps Latka tests, provides some defaults for host, port etc.
doTag(XMLOutput) - Method in class org.apache.commons.latka.jelly.ValidateTag
make sure the request executes, then call validators.
doTag(XMLOutput) - Method in class org.apache.commons.latka.jelly.validators.HttpValidatorTagSupport
Provides a default implementation for simple validation tags.

E

EVENT_INFO_VAR - Static variable in class org.apache.commons.latka.jelly.JellyUtils
 
EVENT_LISTENER_VAR - Static variable in class org.apache.commons.latka.jelly.JellyUtils
 
execute() - Method in interface org.apache.commons.latka.http.Request
Execute this HTTP request.
execute() - Method in class org.apache.commons.latka.http.RequestImpl
Executes the request.
executeRequestPerHost() - Method in class org.apache.commons.latka.http.RequestImpl
Execute the request - perform the http interaction.

F

fail(String) - Method in class org.apache.commons.latka.validators.BaseValidator
 
findParentRequest(Tag) - Method in class org.apache.commons.latka.jelly.JellyUtils
Given a tag, find a parent RequestTag and return its Request object.
findSession() - Method in class org.apache.commons.latka.jelly.RequestTag
 
findSession(String) - Method in class org.apache.commons.latka.jelly.SessionTag
 
followRedirects() - Method in interface org.apache.commons.latka.http.Request
Whether or not this request will instruct HttpClient to follow local redirects automatically.
followRedirects() - Method in class org.apache.commons.latka.http.RequestImpl
Defined in the interface

G

GoldenFileTag - class org.apache.commons.latka.jelly.validators.GoldenFileTag.
A class to compare an HTTP response to a golden file
GoldenFileTag() - Constructor for class org.apache.commons.latka.jelly.validators.GoldenFileTag
 
GoldenFileValidator - class org.apache.commons.latka.validators.GoldenFileValidator.
Compare the response with a golden file.
GoldenFileValidator(File) - Constructor for class org.apache.commons.latka.validators.GoldenFileValidator
 
GoldenFileValidator(String, File) - Constructor for class org.apache.commons.latka.validators.GoldenFileValidator
 
generateBareExceptionMessage() - Method in class org.apache.commons.latka.validators.BaseConditionalValidator
The BASE exception message for a subclass of BaseConditionalValidator.
generateBareExceptionMessage() - Method in class org.apache.commons.latka.validators.CookieValidator
 
generateBareExceptionMessage() - Method in class org.apache.commons.latka.validators.RegexpValidator
 
generateBareExceptionMessage() - Method in class org.apache.commons.latka.validators.ResponseHeaderValidator
 
generateBareExceptionMessage() - Method in class org.apache.commons.latka.validators.XPathValidator
 
getByteLength() - Method in interface org.apache.commons.latka.http.Response
Returns the length of the Response stream (as bytes), or -1 if no stream is available
getByteLength() - Method in class org.apache.commons.latka.http.ResponseImpl
Returns the length of the Response stream (as bytes), or -1 if no stream is available
getCondition() - Method in class org.apache.commons.latka.validators.BaseConditionalValidator
Returns whether or not this test is supposed to succeed
getCookieValue(String) - Method in interface org.apache.commons.latka.http.Session
Returns the value of cookie name.
getCookieValue(String) - Method in class org.apache.commons.latka.http.SessionImpl
Returns the value of cookie name.
getCredentials() - Method in interface org.apache.commons.latka.http.Request
Return the credentials for this request
getCredentials() - Method in class org.apache.commons.latka.http.RequestImpl
 
getDefaultHost() - Method in class org.apache.commons.latka.jelly.SuiteSettings
defaultHost
getDefaultPort() - Method in class org.apache.commons.latka.jelly.SuiteSettings
defaultPort
getDefaultProxyHost() - Method in class org.apache.commons.latka.jelly.SuiteSettings
defaultProxyHost
getDefaultProxyPort() - Method in class org.apache.commons.latka.jelly.SuiteSettings
defaultProxyPort
getDocument() - Method in class org.apache.commons.latka.XMLReporter
Returns the XML Document produced by this listener
getDocumentAsString() - Method in class org.apache.commons.latka.XMLReporter
Returns the test report converted from dom4j to a text string.
getError() - Method in class org.apache.commons.latka.event.RequestErrorEvent
provides access to the Throwable representing the request error
getException() - Method in class org.apache.commons.latka.LatkaException
Get a wrapped exception
getFailedResponses() - Method in class org.apache.commons.latka.DefaultLatkaEventInfo
List failed responses
getFailedResponses() - Method in interface org.apache.commons.latka.event.LatkaEventInfo
Returns a List of all responses that failed validation.
getHeader(String) - Method in interface org.apache.commons.latka.http.Response
Check a response header.
getHeader(String) - Method in class org.apache.commons.latka.http.ResponseImpl
Check a response header.
getHeaders() - Method in interface org.apache.commons.latka.http.Request
Get the headers for the request, so that they can be copied to another request if necessary.
getHeaders() - Method in interface org.apache.commons.latka.http.RequestHeaders
Return a list of all the headers for the request.
getHeaders() - Method in class org.apache.commons.latka.http.RequestHeadersImpl
Defined in interface
getHeaders() - Method in class org.apache.commons.latka.http.RequestImpl
Defined in the implemented interface
getHost() - Method in class org.apache.commons.latka.http.Proxy
Getter for property host.
getHttpMethod() - Method in class org.apache.commons.latka.http.RequestImpl
Returns the object implementing the HttpMethod (get, post, etc.) for this request.
getInstance(int, URL) - Static method in class org.apache.commons.latka.http.MethodFactory
Creates and returns an object implementing the HttpMethod interface.
getInstance() - Static method in class org.apache.commons.latka.jelly.JellyUtils
 
getLabel() - Method in class org.apache.commons.latka.ValidationException
User's description of the test/assertion
getLabel() - Method in interface org.apache.commons.latka.http.Request
Assigns a text label to this request.
getLabel() - Method in class org.apache.commons.latka.http.RequestImpl
Get the label used for the request
getLabel() - Method in class org.apache.commons.latka.validators.BaseValidator
 
getLatkaEventInfo(JellyContext) - Method in class org.apache.commons.latka.jelly.JellyUtils
Return the LatkaEventInfo for the context, or null if none has been set
getLatkaEventListener(JellyContext) - Method in class org.apache.commons.latka.jelly.JellyUtils
Return the LatkaEventListener for the context, or null if none has been set
getMessage() - Method in class org.apache.commons.latka.ValidationException
the message of the exception
getMessage() - Method in class org.apache.commons.latka.event.ReportMessageEvent
The message text of the event
getMethod() - Method in interface org.apache.commons.latka.http.Request
Return the constant representing the HTTP method to use in this request
getMethod() - Method in class org.apache.commons.latka.http.RequestImpl
Defined in the interface
getParameters() - Method in interface org.apache.commons.latka.http.Parameters
Returns a list of all the parameters for the request.
getParameters() - Method in class org.apache.commons.latka.http.ParametersImpl
Defined in interface
getParameters() - Method in interface org.apache.commons.latka.http.Request
Get the parameters for the request, so that they can be copied to another request if necessary.
getParameters() - Method in class org.apache.commons.latka.http.RequestImpl
Defined in the implemented interface
getPassword() - Method in interface org.apache.commons.latka.http.Credentials
return the user's password
getPassword() - Method in class org.apache.commons.latka.http.CredentialsImpl
return the user's password
getPort() - Method in class org.apache.commons.latka.http.Proxy
Getter for property port.
getProperties() - Static method in class org.apache.commons.latka.LatkaProperties
Returns the unique Properties object for the current Thread.
getProxy() - Method in class org.apache.commons.latka.http.RequestImpl
Getter for property proxy.
getReason() - Method in class org.apache.commons.latka.ValidationException
Why the test/assertion failed
getReferer() - Method in class org.apache.commons.latka.http.SessionImpl
The URL of the last request that was executed.
getRequest() - Method in class org.apache.commons.latka.event.BaseRequestEvent
 
getRequest() - Method in interface org.apache.commons.latka.event.RequestEvent
the request the event is about
getRequest() - Method in interface org.apache.commons.latka.http.Response
Getter for request property
getRequest() - Method in class org.apache.commons.latka.http.ResponseImpl
Defined in interface
getRequest() - Method in class org.apache.commons.latka.jelly.RequestTag
 
getRequestExecuted() - Method in class org.apache.commons.latka.jelly.RequestTag
 
getRequestTiming() - Method in interface org.apache.commons.latka.http.Request
The amount of time it took to execute the request in milliseconds, or -1 if the request has not been executed successfully
getRequestTiming() - Method in class org.apache.commons.latka.http.RequestImpl
 
getResource() - Method in interface org.apache.commons.latka.http.Response
Returns the resource, in string form, provided by the HTTP server
getResource() - Method in class org.apache.commons.latka.http.ResponseImpl
Returns the resource, in string form, provided by the HTTP server
getResponse() - Method in class org.apache.commons.latka.event.BaseRequestEvent
 
getResponse() - Method in interface org.apache.commons.latka.event.RequestEvent
the response associated with the event's request
getResponse() - Method in class org.apache.commons.latka.jelly.RequestTag
The first time this method is called, a live HTTP call will be made to the server, returning null if the response cannot be obtained.
getResponse() - Method in class org.apache.commons.latka.jelly.ValidateTag
 
getResponse() - Method in class org.apache.commons.latka.jelly.validators.HttpValidatorTagSupport
the response being validated
getSession() - Method in class org.apache.commons.latka.event.BaseRequestEvent
 
getSession() - Method in interface org.apache.commons.latka.event.RequestEvent
the session the event took place within
getSession() - Method in interface org.apache.commons.latka.http.Request
Retrieve the session associated with this request.
getSession() - Method in class org.apache.commons.latka.http.RequestImpl
Retrieve the session associated with this request.
getSession() - Method in class org.apache.commons.latka.jelly.SessionTag
 
getSessionCache() - Method in class org.apache.commons.latka.jelly.SuiteTag
 
getStatusCode() - Method in interface org.apache.commons.latka.http.Response
 
getStatusCode() - Method in class org.apache.commons.latka.http.ResponseImpl
 
getStatusText() - Method in interface org.apache.commons.latka.http.Response
 
getStatusText() - Method in class org.apache.commons.latka.http.ResponseImpl
 
getStream() - Method in interface org.apache.commons.latka.http.Response
Get the actual bytes returned by the web server
getStream() - Method in class org.apache.commons.latka.http.ResponseImpl
Get the actual bytes returned by the web server
getSuiteSettings() - Method in class org.apache.commons.latka.jelly.RequestTag
get the suite settings from SuiteTag
getSuiteSettings() - Method in class org.apache.commons.latka.jelly.SuiteTag
 
getURL() - Method in class org.apache.commons.latka.Suite
URL containing the test suite.
getURL() - Method in interface org.apache.commons.latka.http.Request
Gets the URL that Latka will attempt to contact.
getURL() - Method in class org.apache.commons.latka.http.RequestImpl
Get the URL used for the request
getUserName() - Method in interface org.apache.commons.latka.http.Credentials
return the user's name
getUserName() - Method in class org.apache.commons.latka.http.CredentialsImpl
return the user's name
getValidationException() - Method in class org.apache.commons.latka.event.RequestFailedEvent
get the validation exception provided on construction
getValidator() - Method in class org.apache.commons.latka.jelly.validators.ByteLengthTag
 
getValidator() - Method in class org.apache.commons.latka.jelly.validators.CookieTag
 
getValidator() - Method in class org.apache.commons.latka.jelly.validators.GoldenFileTag
return the golden file validator
getValidator() - Method in class org.apache.commons.latka.jelly.validators.HttpValidatorTagSupport
 
getValidator() - Method in class org.apache.commons.latka.jelly.validators.MaxRequestTimeTag
return the validator
getValidator() - Method in class org.apache.commons.latka.jelly.validators.RegexpTag
 
getValidator() - Method in class org.apache.commons.latka.jelly.validators.ResponseHeaderTag
return the validator
getValidator() - Method in class org.apache.commons.latka.jelly.validators.StatusCodeTag
return the validator
getValidator() - Method in class org.apache.commons.latka.jelly.validators.StatusTextTag
return the validator
getValidator() - Method in class org.apache.commons.latka.jelly.validators.XPathTag
return the validator
getVersion() - Method in interface org.apache.commons.latka.http.Request
Get the HTTP version to use in this request
getVersion() - Method in class org.apache.commons.latka.http.RequestImpl
Get the HTTP version to use in this request.

H

HTTPS_PORT - Static variable in class org.apache.commons.latka.http.RequestImpl
Standard HTTPS Port
HTTP_METHOD_GET - Static variable in interface org.apache.commons.latka.http.Request
An integer representing the HTTP GET method
HTTP_METHOD_HEAD - Static variable in interface org.apache.commons.latka.http.Request
An integer representing the HTTP POST method
HTTP_METHOD_POST - Static variable in interface org.apache.commons.latka.http.Request
An integer representing the HTTP POST method
HTTP_PORT - Static variable in class org.apache.commons.latka.http.RequestImpl
Standard HTTP Port
HtmlPrettyPrintWriter - class org.apache.commons.latka.HtmlPrettyPrintWriter.
Provides more attractive HTML formatting for the runtime output of Latka.
HtmlPrettyPrintWriter(Writer) - Constructor for class org.apache.commons.latka.HtmlPrettyPrintWriter
Create a HtmlPrettyPrintWriter wrapping an existing writer sends output to the wrapped writer
HttpValidatorTagSupport - class org.apache.commons.latka.jelly.validators.HttpValidatorTagSupport.
A base class for validation tags
HttpValidatorTagSupport() - Constructor for class org.apache.commons.latka.jelly.validators.HttpValidatorTagSupport
 

I

init() - Method in class org.apache.commons.latka.jelly.validators.HttpValidatorTagSupport
Called by the ValidationFactory.

J

JUnitEventReporter - class org.apache.commons.latka.junit.JUnitEventReporter.
A Latka reporter that takes the various latka events and adapts them into JUnit Tests.
JUnitEventReporter(TestResult) - Constructor for class org.apache.commons.latka.junit.JUnitEventReporter
Create a JUnitEventReporter, storing the JUnit Test results in the provided object
JUnitTestAdapter - class org.apache.commons.latka.junit.JUnitTestAdapter.
A JUnit Test which is created by wrapping a Latka Suite
JUnitTestAdapter(Suite, int) - Constructor for class org.apache.commons.latka.junit.JUnitTestAdapter
Create a Test from a Latka suite and a number of tests
JellyUtils - class org.apache.commons.latka.jelly.JellyUtils.
 
JellyUtils() - Constructor for class org.apache.commons.latka.jelly.JellyUtils
Creates a new instance of SuiteTag

L

Latka - class org.apache.commons.latka.Latka.
This is the primary class for executing Latka functional tests.
Latka() - Constructor for class org.apache.commons.latka.Latka
 
LatkaEvent - interface org.apache.commons.latka.event.LatkaEvent.
A 'marker' interface that all classes which are able to function as Latka events must implement
LatkaEventInfo - interface org.apache.commons.latka.event.LatkaEventInfo.
An extension to LatkaEventListener that stores the success or failure of all requests.
LatkaEventListener - interface org.apache.commons.latka.event.LatkaEventListener.
Event listener used during the execution of Latka tests.
LatkaEventPublisher - class org.apache.commons.latka.event.LatkaEventPublisher.
A LatkaEventListener that publishes the incoming events to other listeners
LatkaEventPublisher() - Constructor for class org.apache.commons.latka.event.LatkaEventPublisher
 
LatkaException - exception org.apache.commons.latka.LatkaException.
Latka throws this exception to the client whenever a problem occurs that is not covered by one of the standard JDK exceptions (validation errors, SAX problems, etc.)
LatkaException(String) - Constructor for class org.apache.commons.latka.LatkaException
Standard exception constructor
LatkaException(Exception) - Constructor for class org.apache.commons.latka.LatkaException
Wrapped exception.
LatkaProperties - class org.apache.commons.latka.LatkaProperties.
Stores properties for Latka.
LatkaProperties() - Constructor for class org.apache.commons.latka.LatkaProperties
 
LatkaTagLibrary - class org.apache.commons.latka.jelly.LatkaTagLibrary.
A Jelly version of Latka
LatkaTagLibrary() - Constructor for class org.apache.commons.latka.jelly.LatkaTagLibrary
Creates a new instance of LatkaTagLibrary
loadDefaultProps() - Static method in class org.apache.commons.latka.LatkaProperties
Loads the default Properties from the first "latka.properties" file located encountered in the classpath.
loadPropsFromClasspath(String) - Static method in class org.apache.commons.latka.LatkaProperties
Load properties specified from context class path
loadUserProps() - Static method in class org.apache.commons.latka.LatkaProperties
Load latka.properties from classpath
log(String) - Method in class org.apache.commons.latka.validators.GoldenFileValidator
 
logXML(String) - Method in class org.apache.commons.latka.Latka
Use this method to log XML generated by the XMLReporter class.

M

MAX_MESSAGE - Static variable in class org.apache.commons.latka.validators.ByteLengthValidator
 
MESSAGE - Static variable in class org.apache.commons.latka.validators.MaxRequestTimeValidator
 
MESSAGE - Static variable in class org.apache.commons.latka.validators.StatusCodeValidator
 
MESSAGE_INVALID_TEST - Static variable in class org.apache.commons.latka.validators.CookieValidator
 
MIN_MESSAGE - Static variable in class org.apache.commons.latka.validators.ByteLengthValidator
 
MaxRequestTimeTag - class org.apache.commons.latka.jelly.validators.MaxRequestTimeTag.
Class to validate the request time
MaxRequestTimeTag() - Constructor for class org.apache.commons.latka.jelly.validators.MaxRequestTimeTag
 
MaxRequestTimeValidator - class org.apache.commons.latka.validators.MaxRequestTimeValidator.
 
MaxRequestTimeValidator() - Constructor for class org.apache.commons.latka.validators.MaxRequestTimeValidator
 
MaxRequestTimeValidator(String) - Constructor for class org.apache.commons.latka.validators.MaxRequestTimeValidator
 
MaxRequestTimeValidator(String, int) - Constructor for class org.apache.commons.latka.validators.MaxRequestTimeValidator
 
MethodFactory - class org.apache.commons.latka.http.MethodFactory.
This factory provides a single point to obtain implementations of HttpMethod base.
main(String[]) - Static method in class org.apache.commons.latka.Latka
Execute a single test suite via the command line interface.

O

openConnection() - Method in class org.apache.commons.latka.http.RequestImpl
opens an HTTP connection.
org.apache.commons.latka - package org.apache.commons.latka
 
org.apache.commons.latka.event - package org.apache.commons.latka.event
 
org.apache.commons.latka.http - package org.apache.commons.latka.http
 
org.apache.commons.latka.jelly - package org.apache.commons.latka.jelly
 
org.apache.commons.latka.jelly.validators - package org.apache.commons.latka.jelly.validators
 
org.apache.commons.latka.junit - package org.apache.commons.latka.junit
 
org.apache.commons.latka.servlet - package org.apache.commons.latka.servlet
 
org.apache.commons.latka.validators - package org.apache.commons.latka.validators
 

P

PORT_UNSPECIFIED - Static variable in class org.apache.commons.latka.http.Proxy
the port number that represents port is unassigned
ParameterNameTag - class org.apache.commons.latka.jelly.ParameterNameTag.
 
ParameterNameTag() - Constructor for class org.apache.commons.latka.jelly.ParameterNameTag
 
ParameterTag - class org.apache.commons.latka.jelly.ParameterTag.
 
ParameterTag() - Constructor for class org.apache.commons.latka.jelly.ParameterTag
 
ParameterValueTag - class org.apache.commons.latka.jelly.ParameterValueTag.
 
ParameterValueTag() - Constructor for class org.apache.commons.latka.jelly.ParameterValueTag
 
Parameters - interface org.apache.commons.latka.http.Parameters.
Create a new set of parameters
ParametersImpl - class org.apache.commons.latka.http.ParametersImpl.
An implementation of the Parameters interface that stores the name value pairs as a list of two element string arrays
ParametersImpl() - Constructor for class org.apache.commons.latka.http.ParametersImpl
Protected access, parameters can only be copied from request to request.
Proxy - class org.apache.commons.latka.http.Proxy.
A class that holds proxy details for a session.
Proxy() - Constructor for class org.apache.commons.latka.http.Proxy
Creates a new instance of Proxy
Proxy(String, int) - Constructor for class org.apache.commons.latka.http.Proxy
Create a proxy given a host name and port number .
parse(InputSource) - Static method in class org.apache.commons.latka.junit.JUnitTestAdapter
Parse the Latka XML document to count the requests
print(String) - Method in class org.apache.commons.latka.HtmlPrettyPrintWriter
Write a string to the wrapped writer format it specially as per the class definition
printStackTrace() - Method in class org.apache.commons.latka.LatkaException
provide wrapped exception details
printStackTrace(PrintStream) - Method in class org.apache.commons.latka.LatkaException
provide wrapped exception details
printStackTrace(PrintWriter) - Method in class org.apache.commons.latka.LatkaException
Print wrapped exception details, if any
printWrappedExceptions(LatkaException) - Static method in class org.apache.commons.latka.LatkaException
Print a wrapped exception to stdout and, in the case of SAXExceptions, an additional wrapped exception.

R

RegexpTag - class org.apache.commons.latka.jelly.validators.RegexpTag.
A class to match some part of the response body to a regular expression
RegexpTag() - Constructor for class org.apache.commons.latka.jelly.validators.RegexpTag
 
RegexpValidator - class org.apache.commons.latka.validators.RegexpValidator.
Perform regular expression matches on the body of the HTTP response.
RegexpValidator() - Constructor for class org.apache.commons.latka.validators.RegexpValidator
 
RegexpValidator(String) - Constructor for class org.apache.commons.latka.validators.RegexpValidator
 
RegexpValidator(String, String, boolean, boolean) - Constructor for class org.apache.commons.latka.validators.RegexpValidator
 
ReportMessageEvent - class org.apache.commons.latka.event.ReportMessageEvent.
An event detailing a report message
ReportMessageEvent(String) - Constructor for class org.apache.commons.latka.event.ReportMessageEvent
Create a new instance of the class with the supplied message
ReportMessageTag - class org.apache.commons.latka.jelly.ReportMessageTag.
Report message tag
ReportMessageTag() - Constructor for class org.apache.commons.latka.jelly.ReportMessageTag
 
Request - interface org.apache.commons.latka.http.Request.
A Latka Request represents a request from an HTTP server.
RequestBodyTag - class org.apache.commons.latka.jelly.RequestBodyTag.
 
RequestBodyTag() - Constructor for class org.apache.commons.latka.jelly.RequestBodyTag
 
RequestErrorEvent - class org.apache.commons.latka.event.RequestErrorEvent.
An event that represents an error that occurred processing a request
RequestErrorEvent(Request, Response, Throwable) - Constructor for class org.apache.commons.latka.event.RequestErrorEvent
Create an event from the request, response and some Throwable
RequestEvent - interface org.apache.commons.latka.event.RequestEvent.
The basic set of methods available on all Latka events
RequestFailedEvent - class org.apache.commons.latka.event.RequestFailedEvent.
An event for when a request fails
RequestFailedEvent(Request, Response, ValidationException) - Constructor for class org.apache.commons.latka.event.RequestFailedEvent
Create a new request failed event
RequestHeaderTag - class org.apache.commons.latka.jelly.RequestHeaderTag.
Add a header to the request
RequestHeaderTag() - Constructor for class org.apache.commons.latka.jelly.RequestHeaderTag
 
RequestHeaders - interface org.apache.commons.latka.http.RequestHeaders.
Manage a set of http request headers
RequestHeadersImpl - class org.apache.commons.latka.http.RequestHeadersImpl.
Implementation of RequestHeaders that stores its name-value pairs in a list
RequestHeadersImpl() - Constructor for class org.apache.commons.latka.http.RequestHeadersImpl
Protected access, headers can only be copied from request to request.
RequestImpl - class org.apache.commons.latka.http.RequestImpl.
An implementation of a Latka Request interface based on the Apache Commons HttpClient package.
RequestImpl(URL, int, HttpState, SessionImpl) - Constructor for class org.apache.commons.latka.http.RequestImpl
Create a request for the specified URL, process using the supplied method and use the supplied state and session for persistent data
RequestImpl(String, URL, int, HttpState, SessionImpl, boolean) - Constructor for class org.apache.commons.latka.http.RequestImpl
Create a RequestImpl
RequestSkippedEvent - class org.apache.commons.latka.event.RequestSkippedEvent.
An event used when Latka skips a request
RequestSkippedEvent(Request, Response) - Constructor for class org.apache.commons.latka.event.RequestSkippedEvent
Create a RequestSkippedEvent with the provided request and response
RequestSucceededEvent - class org.apache.commons.latka.event.RequestSucceededEvent.
An event generated by Latka when a request completes successfully
RequestSucceededEvent(Request, Response) - Constructor for class org.apache.commons.latka.event.RequestSucceededEvent
Create the event for the given request and response
RequestTag - class org.apache.commons.latka.jelly.RequestTag.
 
RequestTag() - Constructor for class org.apache.commons.latka.jelly.RequestTag
 
Response - interface org.apache.commons.latka.http.Response.
A Latka Response represents a response from an HTTP server.
ResponseHeaderTag - class org.apache.commons.latka.jelly.validators.ResponseHeaderTag.
Validator tag class
ResponseHeaderTag() - Constructor for class org.apache.commons.latka.jelly.validators.ResponseHeaderTag
 
ResponseHeaderValidator - class org.apache.commons.latka.validators.ResponseHeaderValidator.
ResponseHeaderValidator validates response headers in an HTTP session.
ResponseHeaderValidator(String) - Constructor for class org.apache.commons.latka.validators.ResponseHeaderValidator
Constructs a validator for the given header with no label.
ResponseHeaderValidator(String, String) - Constructor for class org.apache.commons.latka.validators.ResponseHeaderValidator
Constructs a labeled validator for the given header
ResponseHeaderValidator(String, String, boolean) - Constructor for class org.apache.commons.latka.validators.ResponseHeaderValidator
Constructs a labeled validator for the given header
ResponseImpl - class org.apache.commons.latka.http.ResponseImpl.
An implementation of a Latka Response interface based on the Apache Commons HttpClient package.
recordSuccess(RequestEvent, boolean) - Method in class org.apache.commons.latka.DefaultLatkaEventInfo
Record the "success status" of a request event.
removeLatkaEventInfo(JellyContext) - Method in class org.apache.commons.latka.jelly.JellyUtils
Remove a LatkaEventInfo object.
reportMessage(ReportMessageEvent) - Method in class org.apache.commons.latka.DefaultLatkaEventInfo
Invoked if a Latka suite wants to send a message to the report generated for the test.
reportMessage(ReportMessageEvent) - Method in class org.apache.commons.latka.XMLReporter
Add the message of the provided event to the XML document as a <reportMessage> element with text
reportMessage(ReportMessageEvent) - Method in interface org.apache.commons.latka.event.LatkaEventListener
Invoked if a Latka suite wants to send a message to the report generated for the test.
reportMessage(ReportMessageEvent) - Method in class org.apache.commons.latka.event.LatkaEventPublisher
send the supplied event to all listeners
reportMessage(ReportMessageEvent) - Method in class org.apache.commons.latka.junit.JUnitEventReporter
This method is currently ignored by the JUnitEventReporter.
requestError(RequestEvent) - Method in class org.apache.commons.latka.DefaultLatkaEventInfo
Invoked if a request error occurs.
requestError(RequestEvent) - Method in class org.apache.commons.latka.XMLReporter
 
requestError(RequestEvent) - Method in interface org.apache.commons.latka.event.LatkaEventListener
Invoked if a request error occurs.
requestError(RequestEvent) - Method in class org.apache.commons.latka.event.LatkaEventPublisher
send the supplied event to all listeners
requestError(RequestEvent) - Method in class org.apache.commons.latka.junit.JUnitEventReporter
Process a Latka request error
requestFailed(RequestEvent) - Method in class org.apache.commons.latka.DefaultLatkaEventInfo
Invoked if the request failed.
requestFailed(RequestEvent) - Method in class org.apache.commons.latka.XMLReporter
 
requestFailed(RequestEvent) - Method in interface org.apache.commons.latka.event.LatkaEventListener
Invoked if the request failed.
requestFailed(RequestEvent) - Method in class org.apache.commons.latka.event.LatkaEventPublisher
send the supplied event to all listeners
requestFailed(RequestEvent) - Method in class org.apache.commons.latka.junit.JUnitEventReporter
Process a Latka request failure
requestSkipped(RequestEvent) - Method in class org.apache.commons.latka.DefaultLatkaEventInfo
A skipped request.
requestSkipped(RequestEvent) - Method in class org.apache.commons.latka.XMLReporter
 
requestSkipped(RequestEvent) - Method in interface org.apache.commons.latka.event.LatkaEventListener
A skipped request.
requestSkipped(RequestEvent) - Method in class org.apache.commons.latka.event.LatkaEventPublisher
send the supplied event to all listeners
requestSkipped(RequestEvent) - Method in class org.apache.commons.latka.junit.JUnitEventReporter
Process a Latka event being skipped
requestSucceeded(RequestEvent) - Method in class org.apache.commons.latka.DefaultLatkaEventInfo
Invoked if the request succeeds.
requestSucceeded(RequestEvent) - Method in class org.apache.commons.latka.XMLReporter
 
requestSucceeded(RequestEvent) - Method in interface org.apache.commons.latka.event.LatkaEventListener
Invoked if the request succeeds
requestSucceeded(RequestEvent) - Method in class org.apache.commons.latka.event.LatkaEventPublisher
send the supplied event to all listeners
requestSucceeded(RequestEvent) - Method in class org.apache.commons.latka.junit.JUnitEventReporter
Process a Latka request success event
resetProperties() - Stat