Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep
A B C D E F G H I J L M N P Q R S T U W X _

A

ANY_LOAD_ORDER - Static variable in class com.meterware.servletunit.WebApplication
 
access() - Method in class com.meterware.servletunit.ServletUnitHttpSession
This method should be invoked when a servlet joins an existing session.
addCookie(Cookie) - Method in class com.meterware.servletunit.ServletUnitHttpRequest
 
addCookie(Cookie) - Method in class com.meterware.servletunit.ServletUnitHttpResponse
Adds the specified cookie to the response.
addCookieHeader() - Method in class com.meterware.servletunit.ServletUnitHttpResponse
 
addDateHeader(String, long) - Method in class com.meterware.servletunit.ServletUnitHttpResponse
Adds a response header with the given name and value.
addError(Test, Throwable) - Method in class com.meterware.servletunit.JUnitServlet.ServletTestRunner
 
addFailure(Test, AssertionFailedError) - Method in class com.meterware.servletunit.JUnitServlet.ServletTestRunner
 
addFiltersForPath(List, String) - Method in class com.meterware.servletunit.WebApplication.ServletRequestImpl
 
addFiltersForServletWithName(List, String) - Method in class com.meterware.servletunit.WebApplication.ServletRequestImpl
 
addHeader(String, String) - Method in class com.meterware.servletunit.ServletUnitHttpResponse
Adds a response header with the given name and value.
addIntHeader(String, int) - Method in class com.meterware.servletunit.ServletUnitHttpResponse
Adds a response header with the given name and value.
addOneCookie(String) - Method in class com.meterware.servletunit.ServletUnitHttpRequest
 
addParameter(String, String) - Method in class com.meterware.servletunit.RequestContext
 
asAttribute(int) - Method in class com.meterware.servletunit.JUnitServlet.XMLResultsFormatter
 
asAttribute(String) - Method in class com.meterware.servletunit.JUnitServlet.XMLResultsFormatter
 
asDateHeaderValue(long) - Method in class com.meterware.servletunit.ServletUnitHttpResponse
 
asHeaderValue(int) - Method in class com.meterware.servletunit.ServletUnitHttpResponse
 
autoLoadServlets() - Method in class com.meterware.servletunit.WebApplication.WebResourceMap
 

B

BasicAuthenticationRequiredException - exception com.meterware.servletunit.BasicAuthenticationRequiredException.
Thrown when servletunit wants to indicate that a resource is protected in an application using Basic Authorization.
BasicAuthenticationRequiredException(String) - Constructor for class com.meterware.servletunit.BasicAuthenticationRequiredException
 

C

CONTEXT_PATH - Static variable in class com.meterware.servletunit.IncludeRequestWrapper
 
CR - Static variable in class com.meterware.servletunit.JUnitServlet.ResultsFormatter
 
collectAutoLoadableServlets(Collection, Map) - Method in class com.meterware.servletunit.WebApplication.WebResourceMap
 
com.meterware.servletunit - package com.meterware.servletunit
 
combinedPath(String, String) - Method in class com.meterware.servletunit.ServletUnitHttpRequest
 
compareTo(Object) - Method in class com.meterware.servletunit.ServletUnitHttpRequest.PrioritizedLocale
 
completeHeaders() - Method in class com.meterware.servletunit.ServletUnitHttpResponse
 
completeInitialization(String) - Method in class com.meterware.servletunit.ServletRunner
 
computeEffectiveUrl(HttpServletRequest, URL) - Method in class com.meterware.servletunit.InvocationContextImpl
 
containsHeader(String) - Method in class com.meterware.servletunit.ServletUnitHttpResponse
Checks whether the response message header has a field with the specified name.
controlsPath(String) - Method in class com.meterware.servletunit.WebApplication.NullSecurityConstraint
 
controlsPath(String) - Method in interface com.meterware.servletunit.WebApplication.SecurityConstraint
 
controlsPath(String) - Method in class com.meterware.servletunit.WebApplication.SecurityConstraintImpl.WebResourceCollection
 
controlsPath(String) - Method in class com.meterware.servletunit.WebApplication.SecurityConstraintImpl
 
create(String) - Method in class com.meterware.servletunit.ExactUrlPatternMatcher
 
create(String) - Method in class com.meterware.servletunit.ExtensionUrlPatternMatcher
 
create(String) - Method in class com.meterware.servletunit.PathMappingUrlPatternMatcher
 
create(String) - Method in class com.meterware.servletunit.UrlPatternMatcher
Returns a suitable pattern matcher if this class is compatible with the pattern.
createForwardRequestWrapper(HttpServletRequest, RequestDispatcher) - Static method in class com.meterware.servletunit.DispatchedRequestWrapper
 
createIncludeRequestWrapper(HttpServletRequest, RequestDispatcher) - Static method in class com.meterware.servletunit.DispatchedRequestWrapper
 

D

DONT_AUTOLOAD - Static variable in class com.meterware.servletunit.WebApplication
 
DispatchedRequestWrapper - class com.meterware.servletunit.DispatchedRequestWrapper.
This class represents a request dispatched via a RequestDispatcherImpl.
DispatchedRequestWrapper(HttpServletRequest, RequestDispatcher) - Constructor for class com.meterware.servletunit.DispatchedRequestWrapper
 
destroyResource() - Method in class com.meterware.servletunit.WebApplication.FilterConfiguration
 
destroyResource() - Method in class com.meterware.servletunit.WebApplication.ServletConfiguration
 
destroyResource() - Method in class com.meterware.servletunit.WebApplication.WebResourceMapping
 
destroyResource() - Method in class com.meterware.servletunit.WebResourceConfiguration
 
destroyServlets() - Method in class com.meterware.servletunit.WebApplication
Calls the destroy method for every active servlet.
destroyWebResources() - Method in class com.meterware.servletunit.WebApplication.WebResourceMap
 
destroyWebResources(Map) - Method in class com.meterware.servletunit.WebApplication.WebResourceMap
 
displayException(TestFailure) - Method in class com.meterware.servletunit.JUnitServlet.XMLResultsFormatter
 
displayFooter(PrintWriter) - Method in class com.meterware.servletunit.JUnitServlet.HTMLResultsFormatter
 
displayFooter(PrintWriter) - Method in class com.meterware.servletunit.JUnitServlet.ResultsFormatter
 
displayFooter(PrintWriter) - Method in class com.meterware.servletunit.JUnitServlet.TextResultsFormatter
 
displayFooter(PrintWriter) - Method in class com.meterware.servletunit.JUnitServlet.XMLResultsFormatter
 
displayHeader(PrintWriter, String, TestResult, String) - Method in class com.meterware.servletunit.JUnitServlet.DisplayedResultsFormatter
 
displayHeader(PrintWriter, String, String, String, String) - Method in class com.meterware.servletunit.JUnitServlet.DisplayedResultsFormatter
 
displayHeader(PrintWriter, String, String, String, String) - Method in class com.meterware.servletunit.JUnitServlet.HTMLResultsFormatter
 
displayHeader(PrintWriter, String, TestResult, String) - Method in class com.meterware.servletunit.JUnitServlet.ResultsFormatter
 
displayHeader(PrintWriter, String, String, String, String) - Method in class com.meterware.servletunit.JUnitServlet.TextResultsFormatter
 
displayHeader(PrintWriter, String, TestResult, String) - Method in class com.meterware.servletunit.JUnitServlet.XMLResultsFormatter
 
displayProblemDetail(PrintWriter, String) - Method in class com.meterware.servletunit.JUnitServlet.DisplayedResultsFormatter
 
displayProblemDetail(PrintWriter, String) - Method in class com.meterware.servletunit.JUnitServlet.HTMLResultsFormatter
 
displayProblemDetail(PrintWriter, String) - Method in class com.meterware.servletunit.JUnitServlet.TextResultsFormatter
 
displayProblemDetailFooter(PrintWriter) - Method in class com.meterware.servletunit.JUnitServlet.DisplayedResultsFormatter
 
displayProblemDetailFooter(PrintWriter) - Method in class com.meterware.servletunit.JUnitServlet.HTMLResultsFormatter
 
displayProblemDetailFooter(PrintWriter) - Method in class com.meterware.servletunit.JUnitServlet.TextResultsFormatter
 
displayProblemDetailHeader(PrintWriter, int, String) - Method in class com.meterware.servletunit.JUnitServlet.DisplayedResultsFormatter
 
displayProblemDetailHeader(PrintWriter, int, String) - Method in class com.meterware.servletunit.JUnitServlet.HTMLResultsFormatter
 
displayProblemDetailHeader(PrintWriter, int, String) - Method in class com.meterware.servletunit.JUnitServlet.TextResultsFormatter
 
displayProblemTitle(PrintWriter, String) - Method in class com.meterware.servletunit.JUnitServlet.DisplayedResultsFormatter
 
displayProblemTitle(PrintWriter, String) - Method in class com.meterware.servletunit.JUnitServlet.HTMLResultsFormatter
 
displayProblemTitle(PrintWriter, String) - Method in class com.meterware.servletunit.JUnitServlet.TextResultsFormatter
 
displayProblems(PrintWriter, String, int, Enumeration) - Method in class com.meterware.servletunit.JUnitServlet.DisplayedResultsFormatter
 
displayResults(PrintWriter, TestResult) - Method in class com.meterware.servletunit.JUnitServlet.DisplayedResultsFormatter
 
displayResults(PrintWriter, String, String, TestResult) - Method in class com.meterware.servletunit.JUnitServlet.ResultsFormatter
 
displayResults(PrintWriter, TestResult) - Method in class com.meterware.servletunit.JUnitServlet.ResultsFormatter
 
displayResults(PrintWriter, TestResult) - Method in class com.meterware.servletunit.JUnitServlet.XMLResultsFormatter
 
displayResults(PrintWriter, String, Enumeration) - Method in class com.meterware.servletunit.JUnitServlet.XMLResultsFormatter
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.meterware.servletunit.JUnitServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.meterware.servletunit.WebApplication.SecurityCheckServlet
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class com.meterware.servletunit.WebApplication.SecurityCheckServlet
 

E

EMPTY_VECTOR - Static variable in class com.meterware.servletunit.ServletUnitServletContext
 
ExactUrlPatternMatcher - class com.meterware.servletunit.ExactUrlPatternMatcher.
 
ExactUrlPatternMatcher(String) - Constructor for class com.meterware.servletunit.ExactUrlPatternMatcher
 
ExtensionUrlPatternMatcher - class com.meterware.servletunit.ExtensionUrlPatternMatcher.
 
ExtensionUrlPatternMatcher() - Constructor for class com.meterware.servletunit.ExtensionUrlPatternMatcher
 
ExtensionUrlPatternMatcher(String) - Constructor for class com.meterware.servletunit.ExtensionUrlPatternMatcher
 
encodeRedirectURL(String) - Method in class com.meterware.servletunit.ServletUnitHttpResponse
Encodes the specified URL for use in the sendRedirect method or, if encoding is not needed, returns the URL unchanged.
encodeRedirectUrl(String) - Method in class com.meterware.servletunit.ServletUnitHttpResponse
Deprecated. Use encodeRedirectURL(String url)
encodeURL(String) - Method in class com.meterware.servletunit.ServletUnitHttpResponse
Encodes the specified URL by including the session ID in it, or, if encoding is not needed, returns the URL unchanged.
encodeUrl(String) - Method in class com.meterware.servletunit.ServletUnitHttpResponse
Deprecated. Use encodeURL(String url)
endTest(Test) - Method in class com.meterware.servletunit.JUnitServlet.ServletTestRunner
 
extendedArray(String[], String) - Static method in class com.meterware.servletunit.RequestContext
 
extractContextParameters(Document) - Method in class com.meterware.servletunit.WebApplication
 
extractListeners(Document) - Method in class com.meterware.servletunit.WebApplication
 
extractLoginConfiguration(Document) - Method in class com.meterware.servletunit.WebApplication
 
extractSecurityConstraints(Document) - Method in class com.meterware.servletunit.WebApplication
 

F

FilterConfigImpl - class com.meterware.servletunit.FilterConfigImpl.
 
FilterConfigImpl(String, ServletContext, Hashtable) - Constructor for class com.meterware.servletunit.FilterConfigImpl
 
FilterMetaData - interface com.meterware.servletunit.FilterMetaData.
 
FilterUrlMap - class com.meterware.servletunit.FilterUrlMap.
 
FilterUrlMap() - Constructor for class com.meterware.servletunit.FilterUrlMap
 
ForwardRequestWrapper - class com.meterware.servletunit.ForwardRequestWrapper.
 
ForwardRequestWrapper(HttpServletRequest, RequestDispatcher) - Constructor for class com.meterware.servletunit.ForwardRequestWrapper
 
flushBuffer() - Method in class com.meterware.servletunit.ServletUnitHttpResponse
Forces any content in the buffer to be written to the client.
forward(ServletRequest, ServletResponse) - Method in class com.meterware.servletunit.RequestDispatcherImpl
 

G

get(URL) - Method in class com.meterware.servletunit.WebApplication.WebResourceMap
 
getApplication() - Method in class com.meterware.servletunit.ServletRunner
 
getAttribute(String) - Method in class com.meterware.servletunit.IncludeRequestWrapper
 
getAttribute(String) - Method in class com.meterware.servletunit.ServletUnitHttpRequest
Returns the value of the named attribute as an Object.
getAttribute(String) - Method in class com.meterware.servletunit.ServletUnitHttpSession
Returns the object bound with the specified name in this session or null if no object of that name exists.
getAttribute(String) - Method in class com.meterware.servletunit.ServletUnitServletContext
Returns the servlet container attribute with the given name, or null if there is no attribute by that name.
getAttributeNames() - Method in class com.meterware.servletunit.ServletUnitHttpRequest
Returns an Enumeration containing the names of the attributes available to this request.
getAttributeNames() - Method in class com.meterware.servletunit.ServletUnitHttpSession
Returns an array containing the names of all the objects bound to this session.
getAttributeNames() - Method in class com.meterware.servletunit.ServletUnitServletContext
 
getAuthType() - Method in class com.meterware.servletunit.ServletUnitHttpRequest
Returns the name of the authentication scheme used to protect the servlet, for example, "BASIC" or "SSL," or null if the servlet was not protected.
getAuthenticationRealm() - Method in class com.meterware.servletunit.WebApplication
 
getBaseRequest() - Method in class com.meterware.servletunit.DispatchedRequestWrapper
 
getBufferSize() - Method in class com.meterware.servletunit.ServletUnitHttpResponse
Returns the actual buffer size used for the response.
getCharacterEncoding() - Method in class com.meterware.servletunit.ServletUnitHttpRequest
Returns the name of the character encoding style used in this request.
getCharacterEncoding() - Method in class com.meterware.servletunit.ServletUnitHttpResponse
Returns the name of the character set encoding used for the MIME body sent by this response.
getChildNodeValue(Element, String) - Static method in class com.meterware.servletunit.XMLUtils
 
getChildNodeValue(Element, String, String) - Static method in class com.meterware.servletunit.XMLUtils
 
getClassName() - Method in interface com.meterware.servletunit.JSPServletDescriptor
Returns the class name of the JSP servlet.
getClassName() - Method in class com.meterware.servletunit.ServletRunner.JasperJSPServletDescriptor
 
getClassName() - Method in class com.meterware.servletunit.WebResourceConfiguration
 
getClient() - Method in class com.meterware.servletunit.ServletRunner
 
getConfiguration() - Method in class com.meterware.servletunit.WebApplication.ServletRequestImpl
 
getConfiguration() - Method in class com.meterware.servletunit.WebApplication.WebResourceMapping
 
getContentLength() - Method in class com.meterware.servletunit.ServletUnitHttpRequest
Returns the length, in bytes, of the content contained in the request and sent by way of the input stream or -1 if the length is not known.
getContentType() - Method in class com.meterware.servletunit.JUnitServlet.HTMLResultsFormatter
 
getContentType() - Method in class com.meterware.servletunit.JUnitServlet.ResultsFormatter
 
getContentType() - Method in class com.meterware.servletunit.JUnitServlet.TextResultsFormatter
 
getContentType() - Method in class com.meterware.servletunit.JUnitServlet.XMLResultsFormatter
 
getContentType() - Method in class com.meterware.servletunit.ServletUnitHttpRequest
Returns the MIME type of the content of the request, or null if the type is not known.
getContentType() - Method in class com.meterware.servletunit.ServletUnitHttpResponse
Returns the content type defined for this response.
getContents() - Method in class com.meterware.servletunit.ServletUnitHttpResponse
Returns the contents of this response.
getContext() - Method in class com.meterware.servletunit.InvocationContextImpl
 
getContext() - Method in class com.meterware.servletunit.ServletRunner
 
getContext(String) - Method in class com.meterware.servletunit.ServletUnitServletContext
Returns a ServletContext object that corresponds to a specified URL on the server.
getContextForLongestPathPrefix(String) - Method in class com.meterware.servletunit.WebApplication.WebResourceMap
 
getContextParameter(String) - Method in class com.meterware.servletunit.ServletRunner
Returns the value of the named context parameter found in the application definition.
getContextParameters() - Method in class com.meterware.servletunit.WebApplication
 
getContextParams() - Method in class com.meterware.servletunit.ServletUnitServletContext
 
getContextPath() - Method in class com.meterware.servletunit.ServletUnitContext
Returns the contextPath
getContextPath() - Method in class com.meterware.servletunit.ServletUnitHttpRequest
Returns the portion of the request URI that indicates the context of the request.
getContextPath() - Method in class com.meterware.servletunit.WebApplication
 
getControllingConstraint(String) - Method in class com.meterware.servletunit.WebApplication
 
getCookies() - Method in class com.meterware.servletunit.ServletUnitHttpRequest
Returns an array containing all of the Cookie objects the client sent with this request.
getCreationTime() - Method in class com.meterware.servletunit.ServletUnitHttpSession
Returns the time when this session was created, measured in milliseconds since midnight January 1, 1970 GMT.
getDateHeader(String) - Method in class com.meterware.servletunit.ServletUnitHttpRequest
Returns the value of the specified request header as a long value that represents a Date object.
getErrorURL() - Method in class com.meterware.servletunit.WebApplication
 
getExtension(String) - Method in class com.meterware.servletunit.WebApplication.WebResourceMap
 
getFilter() - Method in interface com.meterware.servletunit.FilterMetaData
Returns the filter instance to use.
getFilter() - Method in interface com.meterware.servletunit.InvocationContext
Returns the current active filter object.
getFilter() - Method in class com.meterware.servletunit.InvocationContextImpl.ExecutionContext
 
getFilter() - Method in class com.meterware.servletunit.InvocationContextImpl
 
getFilter() - Method in class com.meterware.servletunit.WebApplication.FilterConfiguration
 
getFilterChain() - Method in interface com.meterware.servletunit.InvocationContext
Returns the current filter chain.
getFilterChain() - Method in class com.meterware.servletunit.InvocationContextImpl
 
getFilterIndex() - Method in class com.meterware.servletunit.InvocationContextImpl.ExecutionContext
 
getFilterName() - Method in class com.meterware.servletunit.FilterConfigImpl
 
getFilters() - Method in interface com.meterware.servletunit.ServletMetaData
Returns an ordered list of the filters associated with this servlet.
getFilters() - Method in class com.meterware.servletunit.WebApplication.ServletRequestImpl
 
getFormatted(int, String) - Method in class com.meterware.servletunit.JUnitServlet.DisplayedResultsFormatter
 
getFrame() - Method in interface com.meterware.servletunit.InvocationContext
Returns the target frame for the original request.
getFrame() - Method in class com.meterware.servletunit.InvocationContextImpl
 
getHeader(String) - Method in class com.meterware.servletunit.ServletUnitHttpRequest
Returns the value of the specified request header as a String.
getHeaderField(String) - Method in class com.meterware.servletunit.ServletUnitHttpResponse
Returns the headers defined for this response.
getHeaderField(String) - Method in class com.meterware.servletunit.ServletUnitWebResponse
Returns the value for the specified header field.
getHeaderFieldNames() - Method in class com.meterware.servletunit.ServletUnitHttpResponse
 
getHeaderFieldNames() - Method in class com.meterware.servletunit.ServletUnitWebResponse
 
getHeaderFields(String) - Method in class com.meterware.servletunit.ServletUnitHttpResponse
Return an array of all the header values associated with the specified header name, or an zero-length array if there are no such header values.
getHeaderFields(String) - Method in class com.meterware.servletunit.ServletUnitWebResponse
 
getHeaderNames() - Method in class com.meterware.servletunit.ServletUnitHttpRequest
Returns an enumeration of all the header names this request contains.
getHeaders(String) - Method in class com.meterware.servletunit.ServletUnitHttpRequest
Returns all the values of the specified request header as an Enumeration of String objects.
getId() - Method in class com.meterware.servletunit.ServletUnitHttpSession
Returns a string containing the unique identifier assigned to this session.
getInitParameter(String) - Method in class com.meterware.servletunit.FilterConfigImpl
 
getInitParameter(String) - Method in class com.meterware.servletunit.ServletUnitServletConfig
Returns the value of the specified init parameter, or null if no such init parameter is defined.
getInitParameter(String) - Method in class com.meterware.servletunit.ServletUnitServletContext
Returns a String containing the value of the named context-wide initialization parameter, or null if the parameter does not exist.
getInitParameterNames() - Method in class com.meterware.servletunit.FilterConfigImpl
 
getInitParameterNames() - Method in class com.meterware.servletunit.ServletUnitServletConfig
Returns an enumeration over the names of the init parameters.
getInitParameterNames() - Method in class com.meterware.servletunit.ServletUnitServletContext
Returns the names of the context's initialization parameters as an Enumeration of String objects, or an empty Enumeration if the context has no initialization parameters.
getInitParams() - Method in class com.meterware.servletunit.WebResourceConfiguration
 
getInitializationParameters(String, String) - Method in interface com.meterware.servletunit.JSPServletDescriptor
Returns initialization parameters for the JSP servlet, given the specified classpath and working directory.
getInitializationParameters(String, String) - Method in class com.meterware.servletunit.ServletRunner.JasperJSPServletDescriptor
 
getInputStream() - Method in class com.meterware.servletunit.ServletUnitHttpRequest
Retrieves binary data from the body of the request as a javax.servlet.ServletInputStream, which gives you the ability to read one line at a time.
getIntHeader(String) - Method in class com.meterware.servletunit.ServletUnitHttpRequest
Returns the value of the specified request header as an int.
getLastAccessedTime() - Method in class com.meterware.servletunit.ServletUnitHttpSession
Returns the last time the client sent a request associated with this session, as the number of milliseconds since midnight January 1, 1970 GMT.
getLineBreak() - Method in class com.meterware.servletunit.JUnitServlet.ResultsFormatter
 
getLineBreak() - Method in class com.meterware.servletunit.JUnitServlet.XMLResultsFormatter
 
getLoadOrder() - Method in class com.meterware.servletunit.WebApplication.ServletConfiguration
 
getLoader() - Method in class com.meterware.servletunit.JUnitServlet.ServletTestRunner
Always use the StandardTestSuiteLoader.
getLocale() - Method in class com.meterware.servletunit.ServletUnitHttpRequest.PrioritizedLocale
 
getLocale() - Method in class com.meterware.servletunit.ServletUnitHttpRequest
Returns the preferred Locale that the client will accept content in, based on the Accept-Language header.
getLocale() - Method in class com.meterware.servletunit.ServletUnitHttpResponse
Returns the locale assigned to the response.
getLocales() - Method in class com.meterware.servletunit.ServletUnitHttpRequest
Returns an Enumeration of Locale objects indicating, in decreasing order starting with the preferred locale, the locales that are acceptable to the client based on the Accept-Language header.
getLoginURL() - Method in class com.meterware.servletunit.WebApplication
 
getMajorVersion() - Method in class com.meterware.servletunit.ServletUnitServletContext
Returns the major version of the Java Servlet API that this servlet container supports.
getMapping(String) - Method in class com.meterware.servletunit.WebApplication.WebResourceMap
 
getMatchingCollection(String) - Method in class com.meterware.servletunit.WebApplication.SecurityConstraintImpl
 
getMatchingFilters(String) - Method in class com.meterware.servletunit.FilterUrlMap
 
getMaxInactiveInterval() - Method in class com.meterware.servletunit.ServletUnitHttpSession
Returns the maximum time interval, in seconds, that the servlet engine will keep this session open between client requests.
getMessage() - Method in class com.meterware.servletunit.ServletUnitHttpResponse
Returns the message associated with this response's status.
getMessageBodyAsString() - Method in class com.meterware.servletunit.RequestContext
 
getMessageEncoding() - Method in class com.meterware.servletunit.RequestContext
 
getMethod() - Method in class com.meterware.servletunit.ServletUnitHttpRequest
Returns the name of the HTTP method with which this request was made, for example, GET, POST, or PUT.
getMimeType(String) - Method in class com.meterware.servletunit.ServletUnitServletContext
Returns the MIME type of the specified file, or null if the MIME type is not known.
getMinorVersion() - Method in class com.meterware.servletunit.ServletUnitServletContext
Returns the minor version of the Servlet API that this servlet container supports.
getNamedDispatcher(String) - Method in class com.meterware.servletunit.ServletUnitServletContext
Returns a RequestDispatcher object that acts as a wrapper for the named servlet.
getOriginalURL() - Method in class com.meterware.servletunit.ServletUnitHttpSession
 
getOutputStream() - Method in class com.meterware.servletunit.ServletUnitHttpResponse
Returns a javax.servlet.ServletOutputStream suitable for writing binary data in the response.
getParameter(String) - Method in class com.meterware.servletunit.DispatchedRequestWrapper
 
getParameter(String) - Method in class com.meterware.servletunit.RequestContext
 
getParameter(String) - Method in class com.meterware.servletunit.ServletUnitHttpRequest
Returns the value of a request parameter as a String, or null if the parameter does not exist.
getParameterMap() - Method in class com.meterware.servletunit.DispatchedRequestWrapper
 
getParameterMap() - Method in class com.meterware.servletunit.RequestContext
 
getParameterMap() - Method in class com.meterware.servletunit.ServletUnitHttpRequest
Returns a java.util.Map of the parameters of this request.
getParameterNames() - Method in class com.meterware.servletunit.DispatchedRequestWrapper
 
getParameterNames() - Method in class com.meterware.servletunit.RequestContext
 
getParameterNames() - Method in class com.meterware.servletunit.ServletUnitHttpRequest
Returns an Enumeration of String objects containing the names of the parameters contained in this request.
getParameterValues(String) - Method in class com.meterware.servletunit.DispatchedRequestWrapper
 
getParameterValues(String) - Method in class com.meterware.servletunit.RequestContext
 
getParameterValues(String) - Method in class com.meterware.servletunit.ServletUnitHttpRequest
Returns an array of String objects containing all of the values the given request parameter has, or null if the parameter does not exist.
getParameters() - Method in class com.meterware.servletunit.RequestContext
 
getPathInfo() - Method in class com.meterware.servletunit.ForwardRequestWrapper
 
getPathInfo() - Method in interface com.meterware.servletunit.ServletMetaData
Returns the path info beyond the servlet path.
getPathInfo() - Method in class com.meterware.servletunit.ServletUnitHttpRequest
Returns any extra path information associated with the URL the client sent when it made this request.
getPathInfo(String) - Method in class com.meterware.servletunit.WebApplication.PartialMatchWebResourceMapping
 
getPathInfo() - Method in class com.meterware.servletunit.WebApplication.ServletRequestImpl
 
getPathInfo(String) - Method in class com.meterware.servletunit.WebApplication.WebResourceMapping
Returns the portion of the request path which was not used to select the servlet, and can be used as data by the servlet.
getPathTranslated() - Method in class com.meterware.servletunit.ServletUnitHttpRequest
Returns any extra path information after the servlet name but before the query string, and translates it to a real path.
getPermittedRoles() - Method in class com.meterware.servletunit.WebApplication.NullSecurityConstraint
 
getPermittedRoles() - Method in interface com.meterware.servletunit.WebApplication.SecurityConstraint
 
getPermittedRoles() - Method in class com.meterware.servletunit.WebApplication.SecurityConstraintImpl
 
getPermittedRoles(URL) - Method in class com.meterware.servletunit.WebApplication
Returns an array containing the roles permitted to access the specified URL.
getPreferredLocales() - Method in class com.meterware.servletunit.ServletUnitHttpRequest
Parses the accept-language header to obtain a vector of preferred locales
getProtocol() - Method in class com.meterware.servletunit.ServletUnitHttpRequest
Returns the name and version of the protocol the request uses in the form protocol/majorVersion.minorVersion, for example, HTTP/1.1.
getQueryString() - Method in class com.meterware.servletunit.ForwardRequestWrapper
 
getQueryString() - Method in class com.meterware.servletunit.ServletUnitHttpRequest
Returns the query string that is contained in the request URL after the path.
getReader() - Method in class com.meterware.servletunit.ServletUnitHttpRequest
Returns the body of the request as a BufferedReader that translates character set encodings.
getRealPath(String) - Method in class com.meterware.servletunit.ServletUnitHttpRequest
Deprecated. As of Version 2.1 of the Java Servlet API, use ServletContext.getRealPath(java.lang.String)>ServletContext.getRealPath(java.lang.String) 55 instead.
getRealPath(String) - Method in class com.meterware.servletunit.ServletUnitServletContext
Returns a String containing the real path for a given virtual path.
getRemoteAddr() - Method in class com.meterware.servletunit.ServletUnitHttpRequest
Returns the Internet Protocol (IP) address of the client that sent the request.
getRemoteHost() - Method in class com.meterware.servletunit.ServletUnitHttpRequest
Returns the fully qualified name of the client that sent the request.
getRemoteUser() - Method in class com.meterware.servletunit.ServletUnitHttpRequest
Returns the login of the user making this request, if the user has been authenticated, or null if the user has not been authenticated.
getRequest() - Method in interface com.meterware.servletunit.InvocationContext
Returns the request to be processed by the servlet or filter.
getRequest() - Method in class com.meterware.servletunit.InvocationContextImpl.ExecutionContext
 
getRequest() - Method in class com.meterware.servletunit.InvocationContextImpl.FilterContext
 
getRequest() - Method in class com.meterware.servletunit.InvocationContextImpl
Returns the request to be processed by the servlet or filter.
getRequestDispatcher(String) - Method in class com.meterware.servletunit.ServletUnitHttpRequest
Returns a RequestDispatcher object that acts as a wrapper for the resource located at the given path.
getRequestDispatcher(String) - Method in class com.meterware.servletunit.ServletUnitServletContext
Returns a RequestDispatcher object that acts as a wrapper for the resource located at the given path.
getRequestURI() - Method in class com.meterware.servletunit.ForwardRequestWrapper
 
getRequestURI() - Method in class com.meterware.servletunit.RequestContext
 
getRequestURI() - Method in class com.meterware.servletunit.ServletUnitHttpRequest
Returns the part of this request's URL from the protocol name up to the query string in the first line of the HTTP request.
getRequestURL() - Method in class com.meterware.servletunit.ServletUnitHttpRequest
Reconstructs the URL the client used to make the request.
getRequestedSessionId() - Method in class com.meterware.servletunit.ServletUnitHttpRequest
Returns the session ID specified by the client.
getResource(String) - Method in class com.meterware.servletunit.ServletUnitServletContext
Returns a URL to the resource that is mapped to a specified path.
getResourceAsStream(String) - Method in class com.meterware.servletunit.ServletUnitServletContext
Returns the resource located at the named path as an InputStream object.
getResourceFile(String) - Method in class com.meterware.servletunit.WebApplication
 
getResourcePaths(String) - Method in class com.meterware.servletunit.ServletUnitServletContext
Returns a directory-like listing of all the paths to resources within the web application whose longest sub-path matches the supplied path argument.
getResponse() - Method in interface com.meterware.servletunit.InvocationContext
Returns the response which the servlet or filter should modify during its operation.
getResponse() - Method in class com.meterware.servletunit.InvocationContextImpl.ExecutionContext
 
getResponse() - Method in class com.meterware.servletunit.InvocationContextImpl.FilterContext
 
getResponse() - Method in class com.meterware.servletunit.InvocationContextImpl
Returns the response which the servlet or filter should modify during its operation.
getResponse(WebRequest) - Method in class com.meterware.servletunit.ServletRunner
Returns the response from the specified servlet.
getResponse(String) - Method in class com.meterware.servletunit.ServletRunner
Returns the response from the specified servlet using GET.
getResponse(InvocationContext) - Method in class com.meterware.servletunit.ServletUnitClient
Updates this client and returns the response which would be displayed by the user agent.
getResponseCode() - Method in class com.meterware.servletunit.ServletUnitWebResponse
Returns the response code associated with this response.
getResponseMessage() - Method in class com.meterware.servletunit.ServletUnitWebResponse
Returns the response message associated with this response.
getResultsFormatter(String) - Method in class com.meterware.servletunit.JUnitServlet
 
getRoles() - Method in class com.meterware.servletunit.ServletUnitHttpSession
 
getScheme() - Method in class com.meterware.servletunit.ServletUnitHttpRequest
Returns the name of the scheme used to make this request, for example, http, https, or ftp.
getServerInfo() - Method in class com.meterware.servletunit.ServletUnitServletContext
Returns the name and version of the servlet container on which the servlet is running.
getServerName() - Method in class com.meterware.servletunit.ServletUnitHttpRequest
Returns the host name of the server that received the request.
getServerPort() - Method in class com.meterware.servletunit.ServletUnitHttpRequest
Returns the port number on which this request was received.
getServlet() - Method in interface com.meterware.servletunit.InvocationContext
Returns the selected servlet, initialized to provide access to sessions and servlet context information.
getServlet() - Method in class com.meterware.servletunit.InvocationContextImpl.ExecutionContext
 
getServlet() - Method in class com.meterware.servletunit.InvocationContextImpl
Returns the selected servlet, initialized to provide access to sessions and servlet context information.
getServlet() - Method in interface com.meterware.servletunit.ServletMetaData
Returns the servlet instance to use.
getServlet(String) - Method in class com.meterware.servletunit.ServletUnitServletContext
Deprecated. as of Servlet API 2.1
getServlet() - Method in class com.meterware.servletunit.WebApplication.ServletConfiguration
 
getServlet() - Method in class com.meterware.servletunit.WebApplication.ServletRequestImpl
 
getServletContext() - Method in class com.meterware.servletunit.FilterConfigImpl
 
getServletContext() - Method in class com.meterware.servletunit.ServletUnitHttpSession
Returns the ServletContext to which this session belongs.
getServletContext() - Method in class com.meterware.servletunit.ServletUnitServletConfig
Returns the current servlet context.
getServletContext() - Method in class com.meterware.servletunit.WebApplication
 
getServletContextName() - Method in class com.meterware.servletunit.ServletUnitServletContext
Returns the name of this web application correponding to this ServletContext as specified in the deployment descriptor for this web application by the display-name element.
getServletMetaData() - Method in class com.meterware.servletunit.RequestDispatcherImpl
 
getServletName() - Method in class com.meterware.servletunit.ServletUnitServletConfig
Returns the registered name of the servlet, or its class name if it is not registered.
getServletName() - Method in class com.meterware.servletunit.WebApplication.ServletConfiguration
 
getServletNames() - Method in class com.meterware.servletunit.ServletUnitServletContext
Deprecated. as of Servlet API 2.1
getServletPath() - Method in class com.meterware.servletunit.ForwardRequestWrapper
 
getServletPath() - Method in interface com.meterware.servletunit.ServletMetaData
Returns the path used to identify the servlet.
getServletPath() - Method in class com.meterware.servletunit.ServletUnitHttpRequest
Returns the part of this request's URL that calls the servlet.
getServletPath(String) - Method in class com.meterware.servletunit.WebApplication.PartialMatchWebResourceMapping
 
getServletPath() - Method in class com.meterware.servletunit.WebApplication.ServletRequestImpl
 
getServletPath(String) - Method in class com.meterware.servletunit.WebApplication.WebResourceMap
 
getServletPath(String) - Method in class com.meterware.servletunit.WebApplication.WebResourceMapping
Returns the portion of the request path which was actually used to select the servlet.
getServletRequest(URL) - Method in class com.meterware.servletunit.WebApplication
 
getServletResponse() - Method in interface com.meterware.servletunit.InvocationContext
Returns the final response from the servlet.
getServletResponse() - Method in class com.meterware.servletunit.InvocationContextImpl
Returns the final response from the servlet.
getServletSession() - Method in class com.meterware.servletunit.ServletUnitHttpRequest
 
getServletSession(HttpServletRequest) - Method in class com.meterware.servletunit.WebApplication.SecurityCheckServlet
 
getServlets() - Method in class com.meterware.servletunit.ServletUnitServletContext
Deprecated. as of Servlet API 2.0
getSession(String, boolean) - Method in interface com.meterware.servletunit.InvocationContextFactory
Returns the session with the specified ID; if none exists or the session is invalid, will create a new session if the create flag is true.
getSession(boolean) - Method in class com.meterware.servletunit.ServletRunner
Returns the session to be used by the next request.
getSession(boolean) - Method in class com.meterware.servletunit.ServletUnitClient
Returns the session that would be used by the next request (if it asks for one).
getSession(String) - Method in class com.meterware.servletunit.ServletUnitContext
Returns the session with the specified ID, if any.
getSession(boolean) - Method in class com.meterware.servletunit.ServletUnitHttpRequest
Returns the current HttpSession associated with this request or, if there is no current session and create is true, returns a new session.
getSession() - Method in class com.meterware.servletunit.ServletUnitHttpRequest
Returns the current session associated with this request, or if the request does not have a session, creates one.
getSessionContext() - Method in class com.meterware.servletunit.ServletUnitHttpSession
Deprecated. no replacement.
getSessionIDs() - Method in class com.meterware.servletunit.ServletUnitContext
 
getStatus() - Method in class com.meterware.servletunit.ServletUnitHttpResponse
Returns the status of this response.
getTextValue(Node) - Static method in class com.meterware.servletunit.XMLUtils
 
getUserName() - Method in class com.meterware.servletunit.ServletUnitHttpSession
 
getUserPrincipal() - Method in class com.meterware.servletunit.ServletUnitHttpRequest
Returns a java.security.Principal object containing the name of the current authenticated user.
getValidSession(String, ServletUnitHttpSession, boolean) - Method in class com.meterware.servletunit.ServletUnitContext
Returns an appropriate session for a request.
getValue(String) - Method in class com.meterware.servletunit.ServletUnitHttpSession
Deprecated. as of JSDK 2.2, use getAttribute
getValueNames() - Method in class com.meterware.servletunit.ServletUnitHttpSession
Deprecated. as of JSDK 2.2, use getAttributeNames.
getWriter() - Method in class com.meterware.servletunit.ServletUnitHttpResponse
Returns a PrintWriter object that you can use to send character text to the client.

H

handleLogin(HttpServletRequest, HttpServletResponse) - Method in class com.meterware.servletunit.WebApplication.SecurityCheckServlet
 
handlesPattern(String) - Method in class com.meterware.servletunit.PathMappingUrlPatternMatcher
 
hasChildNode(Element, String) - Static method in class com.meterware.servletunit.XMLUtils
 
hasNext() - Method in class com.meterware.servletunit.ParsedPath
Returns true if there are more parts left, otherwise false

I

IncludeRequestWrapper - class com.meterware.servletunit.IncludeRequestWrapper.
 
IncludeRequestWrapper(HttpServletRequest, RequestDispatcher) - Constructor for class com.meterware.servletunit.IncludeRequestWrapper
 
InvocationContext - interface com.meterware.servletunit.InvocationContext.
An interface which represents the invocation of a servlet.
InvocationContextFactory - interface com.meterware.servletunit.InvocationContextFactory.
An interface for an object which acts as a factory of InvocationContexts
InvocationContextImpl - class com.meterware.servletunit.