Skip navigation links
A B C D E F G H I J L M N P R S T V W 

A

addAttributeListener(ServletRequestAttributeListener) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
addAttributeListener(HttpSessionAttributeListener) - Method in class com.mockrunner.mock.web.MockHttpSession
 
addAttributeListener(ServletContextAttributeListener) - Method in class com.mockrunner.mock.web.MockServletContext
 
addCookie(Cookie) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
addCookie(Cookie) - Method in class com.mockrunner.mock.web.MockHttpServletResponse
 
addDateHeader(String, long) - Method in class com.mockrunner.mock.web.MockHttpServletResponse
 
addFilter(Filter) - Method in class com.mockrunner.mock.web.MockFilterChain
Adds a filter to the chain.
addFilter(Class) - Method in class com.mockrunner.mock.web.MockFilterChain
Adds a filter to the chain.
addFilter(Filter) - Method in class com.mockrunner.servlet.BasicServletTestCaseAdapter
addFilter(Filter, boolean) - Method in class com.mockrunner.servlet.BasicServletTestCaseAdapter
addFilter(Filter) - Method in class com.mockrunner.servlet.ServletTestModule
Adds the specified filter to the filter chain without initializing it.
addFilter(Filter, boolean) - Method in class com.mockrunner.servlet.ServletTestModule
Adds the specified filter it to the filter chain.
addFunction(String, String, Method) - Method in class com.mockrunner.mock.web.MockFunctionMapper
Adds a function for the specified prefix and name.
addHeader(String, String) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
addHeader(String, String) - Method in class com.mockrunner.mock.web.MockHttpServletResponse
 
addIncludeCoda(String) - Method in class com.mockrunner.mock.web.MockJspPropertyGroupDescriptor
Adds an include coda to the collection of include codas.
addIncludePrelude(String) - Method in class com.mockrunner.mock.web.MockJspPropertyGroupDescriptor
Adds an include prelude to the collection of include preludes.
addIntHeader(String, int) - Method in class com.mockrunner.mock.web.MockHttpServletResponse
 
addLocale(Locale) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
addLocales(List) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
addObject(String, Object) - Method in class com.mockrunner.mock.web.MockExpressionEvaluator
Adds an object as a result for the specified expression.
addRequestParameter(String) - Method in class com.mockrunner.base.BasicWebTestCase
addRequestParameter(String, String) - Method in class com.mockrunner.base.BasicWebTestCase
addRequestParameter(String, String[]) - Method in class com.mockrunner.base.BasicWebTestCase
addRequestParameter(String) - Method in class com.mockrunner.base.WebTestModule
Adds an empty request parameter.
addRequestParameter(String, String) - Method in class com.mockrunner.base.WebTestModule
Adds a request parameter.
addRequestParameter(String, String[]) - Method in class com.mockrunner.base.WebTestModule
Adds several request parameters.
addRequestWrapper(Class) - Method in class com.mockrunner.mock.web.WebMockObjectFactory
Can be used to add a request wrapper.
addRequestWrapper(HttpServletRequest) - Method in class com.mockrunner.mock.web.WebMockObjectFactory
Can be used to add a request wrapper.
addResourcePath(String, String) - Method in class com.mockrunner.mock.web.MockServletContext
 
addResourcePaths(String, Collection) - Method in class com.mockrunner.mock.web.MockServletContext
 
addResponseWrapper(Class) - Method in class com.mockrunner.mock.web.WebMockObjectFactory
Can be used to add a response wrapper.
addResponseWrapper(HttpServletResponse) - Method in class com.mockrunner.mock.web.WebMockObjectFactory
Can be used to add a response wrapper.
addUrlPattern(String) - Method in class com.mockrunner.mock.web.MockJspPropertyGroupDescriptor
Adds an URL pattern to the collection of URL patterns.
addVariable(String, Object) - Method in class com.mockrunner.mock.web.MockVariableResolver
Adds a variable that resolves to the specified object.

B

BasicHTMLOutputTestCase - Class in com.mockrunner.base
Delegator for HTMLOutputModule.
BasicHTMLOutputTestCase() - Constructor for class com.mockrunner.base.BasicHTMLOutputTestCase
 
BasicHTMLOutputTestCase(String) - Constructor for class com.mockrunner.base.BasicHTMLOutputTestCase
 
BasicServletTestCaseAdapter - Class in com.mockrunner.servlet
Delegator for ServletTestModule.
BasicServletTestCaseAdapter() - Constructor for class com.mockrunner.servlet.BasicServletTestCaseAdapter
 
BasicServletTestCaseAdapter(String) - Constructor for class com.mockrunner.servlet.BasicServletTestCaseAdapter
 
BasicWebTestCase - Class in com.mockrunner.base
Delegator for WebTestModule.
BasicWebTestCase() - Constructor for class com.mockrunner.base.BasicWebTestCase
 
BasicWebTestCase(String) - Constructor for class com.mockrunner.base.BasicWebTestCase
 

C

clear() - Method in class com.mockrunner.mock.web.MockBodyContent
 
clear() - Method in class com.mockrunner.mock.web.MockJspWriter
Clears the output.
clearAttributes() - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
clearAttributes() - Method in class com.mockrunner.mock.web.MockHttpSession
 
clearAttributes() - Method in class com.mockrunner.mock.web.MockServletContext
 
clearBody() - Method in class com.mockrunner.mock.web.MockBodyContent
 
clearBuffer() - Method in class com.mockrunner.mock.web.MockBodyContent
 
clearBuffer() - Method in class com.mockrunner.mock.web.MockJspWriter
Clears the output.
clearContent() - Method in class com.mockrunner.mock.web.MockServletOutputStream
 
clearFunctions() - Method in class com.mockrunner.mock.web.MockFunctionMapper
Clears all functions.
clearHeaders() - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
clearHeaders() - Method in class com.mockrunner.mock.web.MockHttpServletResponse
 
clearIncludeCodas() - Method in class com.mockrunner.mock.web.MockJspPropertyGroupDescriptor
Clears the collection of include codas.
clearIncludePreludes() - Method in class com.mockrunner.mock.web.MockJspPropertyGroupDescriptor
Clears the collection of include preludes.
clearInitParameters() - Method in class com.mockrunner.mock.web.MockFilterConfig
 
clearInitParameters() - Method in class com.mockrunner.mock.web.MockServletConfig
Clears the init parameters.
clearInitParameters() - Method in class com.mockrunner.mock.web.MockServletContext
Clears the init parameters.
clearJspPropertyGroups() - Method in class com.mockrunner.mock.web.MockJspConfigDescriptor
Clears the list of JSP property groups.
clearObjects() - Method in class com.mockrunner.mock.web.MockExpressionEvaluator
Clears all expressions and corresponding objects.
clearOutput() - Method in class com.mockrunner.servlet.BasicServletTestCaseAdapter
clearOutput() - Method in class com.mockrunner.servlet.ServletTestModule
Clears the output content
clearParameters() - Method in class com.mockrunner.mock.web.MockHttpServletRequest
Clears the parameters.
clearRequestDispatcherMap() - Method in class com.mockrunner.mock.web.MockHttpServletRequest
Clears the map of RequestDispatcher objects.
clearRequestDispatcherMap() - Method in class com.mockrunner.mock.web.MockServletContext
Clears the map of RequestDispatcher objects.
clearTaglibs() - Method in class com.mockrunner.mock.web.MockJspConfigDescriptor
Clears the list of taglibs.
clearUrlPatterns() - Method in class com.mockrunner.mock.web.MockJspPropertyGroupDescriptor
Clears the collection of URL patterns.
clearVariables() - Method in class com.mockrunner.mock.web.MockVariableResolver
Clears all variables.
close() - Method in class com.mockrunner.mock.web.MockBodyContent
 
close() - Method in class com.mockrunner.mock.web.MockJspWriter
 
com.mockrunner.base - package com.mockrunner.base
 
com.mockrunner.example.servlet - package com.mockrunner.example.servlet
 
com.mockrunner.mock.web - package com.mockrunner.mock.web
 
com.mockrunner.servlet - package com.mockrunner.servlet
 
config - Variable in class com.mockrunner.mock.web.MockPageContext
 
configure(WebMockObjectFactory) - Method in class com.mockrunner.mock.web.JasperJspFactory
Configures this implementation for EL support.
containsHeader(String) - Method in class com.mockrunner.mock.web.MockHttpServletResponse
 
createFilter(Class<T>) - Method in class com.mockrunner.servlet.BasicServletTestCaseAdapter
createFilter(Class<T>) - Method in class com.mockrunner.servlet.ServletTestModule
Creates a filter, initializes it and adds it to the filter chain.
createMockFilterChain() - Method in class com.mockrunner.mock.web.WebMockObjectFactory
Creates the MockFilterChain using new.
createMockFilterConfig() - Method in class com.mockrunner.mock.web.WebMockObjectFactory
Creates the MockFilterConfig using new.
createMockJspFactory() - Method in class com.mockrunner.mock.web.WebMockObjectFactory
Creates the MockJspFactory using new.
createMockPageContext() - Method in class com.mockrunner.mock.web.WebMockObjectFactory
Creates the MockPageContext using new.
createMockRequest() - Method in class com.mockrunner.mock.web.WebMockObjectFactory
Creates the MockHttpServletRequest using new.
createMockResponse() - Method in class com.mockrunner.mock.web.WebMockObjectFactory
Creates the MockHttpServletResponse using new.
createMockServletConfig() - Method in class com.mockrunner.mock.web.WebMockObjectFactory
Creates the MockServletConfig using new.
createMockServletContext() - Method in class com.mockrunner.mock.web.WebMockObjectFactory
Creates the MockServletContext using new.
createMockSession() - Method in class com.mockrunner.mock.web.WebMockObjectFactory
Creates the MockHttpSession using new.
createServlet(Class<T>) - Method in class com.mockrunner.servlet.BasicServletTestCaseAdapter
createServlet(Class<T>) - Method in class com.mockrunner.servlet.ServletTestModule
Creates a servlet and initializes it.
createServletTestModule() - Method in class com.mockrunner.servlet.BasicServletTestCaseAdapter
Creates a ServletTestModule based on the current WebMockObjectFactory.
createServletTestModule(WebMockObjectFactory) - Method in class com.mockrunner.servlet.BasicServletTestCaseAdapter
Creates a ServletTestModule with the specified WebMockObjectFactory.
createWebMockObjectFactory() - Method in class com.mockrunner.servlet.BasicServletTestCaseAdapter
createWebMockObjectFactory(WebMockObjectFactory) - Method in class com.mockrunner.servlet.BasicServletTestCaseAdapter
Same as createWebMockObjectFactory(otherFactory, true).
createWebMockObjectFactory(WebMockObjectFactory, boolean) - Method in class com.mockrunner.servlet.BasicServletTestCaseAdapter
Creates a WebMockObjectFactory based on another WebMockObjectFactory.

D

DATE_FORMAT_HEADER - Static variable in interface com.mockrunner.mock.web.WebConstants
 
destroy() - Method in class com.mockrunner.example.servlet.ImageButtonFilter
 
doDelete() - Method in class com.mockrunner.servlet.BasicServletTestCaseAdapter
doDelete() - Method in class com.mockrunner.servlet.ServletTestModule
Calls the current servlets doDelete method.
doFilter(ServletRequest, ServletResponse, FilterChain) - Method in class com.mockrunner.example.servlet.ImageButtonFilter
 
doFilter(ServletRequest, ServletResponse) - Method in class com.mockrunner.mock.web.MockFilterChain
 
doFilter() - Method in class com.mockrunner.servlet.BasicServletTestCaseAdapter
doFilter() - Method in class com.mockrunner.servlet.ServletTestModule
Loops through the filter chain and calls the current servlets service method at the end (only if a current servlet is set).
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.mockrunner.example.servlet.LogoutServlet
 
doGet(HttpServletRequest, HttpServletResponse) - Method in class com.mockrunner.example.servlet.RedirectServlet
 
doGet() - Method in class com.mockrunner.servlet.BasicServletTestCaseAdapter
doGet() - Method in class com.mockrunner.servlet.ServletTestModule
Calls the current servlets doGet method.
doHead() - Method in class com.mockrunner.servlet.BasicServletTestCaseAdapter
doHead() - Method in class com.mockrunner.servlet.ServletTestModule
Calls the current servlets doHead method.
doOptions() - Method in class com.mockrunner.servlet.BasicServletTestCaseAdapter
doOptions() - Method in class com.mockrunner.servlet.ServletTestModule
Calls the current servlets doOptions method.
doPost(HttpServletRequest, HttpServletResponse) - Method in class com.mockrunner.example.servlet.LogoutServlet
 
doPost(HttpServletRequest, HttpServletResponse) - Method in class com.mockrunner.example.servlet.RedirectServlet
 
doPost() - Method in class com.mockrunner.servlet.BasicServletTestCaseAdapter
doPost() - Method in class com.mockrunner.servlet.ServletTestModule
Calls the current servlets doPost method.
doPut() - Method in class com.mockrunner.servlet.BasicServletTestCaseAdapter
doPut() - Method in class com.mockrunner.servlet.ServletTestModule
Calls the current servlets doPut method.
doTrace() - Method in class com.mockrunner.servlet.BasicServletTestCaseAdapter
doTrace() - Method in class com.mockrunner.servlet.ServletTestModule
Calls the current servlets doTrace method.

E

encodeRedirectUrl(String) - Method in class com.mockrunner.mock.web.MockHttpServletResponse
 
encodeRedirectURL(String) - Method in class com.mockrunner.mock.web.MockHttpServletResponse
 
encodeURL(String) - Method in class com.mockrunner.mock.web.MockHttpServletResponse
 
encodeUrl(String) - Method in class com.mockrunner.mock.web.MockHttpServletResponse
 
evaluate(VariableResolver) - Method in class com.mockrunner.mock.web.MockExpression
 
evaluate(String, Class, VariableResolver, FunctionMapper) - Method in class com.mockrunner.mock.web.MockExpressionEvaluator
 

F

findAttribute(String) - Method in class com.mockrunner.mock.web.MockPageContext
 
flush() - Method in class com.mockrunner.mock.web.MockJspWriter
 
flushBuffer() - Method in class com.mockrunner.mock.web.MockHttpServletResponse
 
forward(String) - Method in class com.mockrunner.mock.web.MockPageContext
 
forward(ServletRequest, ServletResponse) - Method in class com.mockrunner.mock.web.MockRequestDispatcher
 

G

GenericHTMLOutputModule - Class in com.mockrunner.base
Generic implementation of HTMLOutputModule.
GenericHTMLOutputModule(WebMockObjectFactory) - Constructor for class com.mockrunner.base.GenericHTMLOutputModule
 
getAttribute(String) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
getAttribute(String) - Method in class com.mockrunner.mock.web.MockHttpSession
 
getAttribute(String) - Method in class com.mockrunner.mock.web.MockPageContext
 
getAttribute(String, int) - Method in class com.mockrunner.mock.web.MockPageContext
 
getAttribute(String) - Method in class com.mockrunner.mock.web.MockServletContext
 
getAttributeNames() - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
getAttributeNames() - Method in class com.mockrunner.mock.web.MockHttpSession
 
getAttributeNames() - Method in class com.mockrunner.mock.web.MockServletContext
 
getAttributeNamesInScope(int) - Method in class com.mockrunner.mock.web.MockPageContext
 
getAttributesScope(String) - Method in class com.mockrunner.mock.web.MockPageContext
 
getAuthType() - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
getBinaryContent() - Method in class com.mockrunner.mock.web.MockServletOutputStream
 
getBuffer() - Method in class com.mockrunner.mock.web.MockJspPropertyGroupDescriptor
 
getBufferSize() - Method in class com.mockrunner.mock.web.MockHttpServletResponse
 
getCharacterEncoding() - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
getCharacterEncoding() - Method in class com.mockrunner.mock.web.MockHttpServletResponse
 
getComment() - Method in class com.mockrunner.mock.web.MockSessionCookieConfig
 
getContent() - Method in class com.mockrunner.mock.web.MockServletOutputStream
 
getContentLength() - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
getContentType() - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
getContentType() - Method in class com.mockrunner.mock.web.MockHttpServletResponse
 
getContext(String) - Method in class com.mockrunner.mock.web.MockServletContext
 
getContextPath() - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
getContextPath() - Method in class com.mockrunner.mock.web.MockServletContext
 
getCookies() - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
getCookies() - Method in class com.mockrunner.mock.web.MockHttpServletResponse
 
getCreationTime() - Method in class com.mockrunner.mock.web.MockHttpSession
 
getDateHeader(String) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
getDefaultContentType() - Method in class com.mockrunner.mock.web.MockJspPropertyGroupDescriptor
 
getDeferredSyntaxAllowedAsLiteral() - Method in class com.mockrunner.mock.web.MockJspPropertyGroupDescriptor
 
getDomain() - Method in class com.mockrunner.mock.web.MockSessionCookieConfig
 
getEffectiveMajorVersion() - Method in class com.mockrunner.mock.web.MockServletContext
 
getEffectiveMinorVersion() - Method in class com.mockrunner.mock.web.MockServletContext
 
getELContext() - Method in class com.mockrunner.mock.web.MockPageContext
 
getElIgnored() - Method in class com.mockrunner.mock.web.MockJspPropertyGroupDescriptor
 
getEngineInfo() - Method in class com.mockrunner.mock.web.JasperJspFactory
 
getEngineInfo() - Method in class com.mockrunner.mock.web.MockJspFactory
 
getErrorCode() - Method in class com.mockrunner.mock.web.MockHttpServletResponse
 
getErrorOnUndeclaredNamespace() - Method in class com.mockrunner.mock.web.MockJspPropertyGroupDescriptor
 
getException() - Method in class com.mockrunner.mock.web.MockPageContext
 
getExpressionEvaluator() - Method in class com.mockrunner.mock.web.MockPageContext
 
getFilteredRequest() - Method in class com.mockrunner.servlet.BasicServletTestCaseAdapter
getFilteredRequest() - Method in class com.mockrunner.servlet.ServletTestModule
Returns the last request from the filter chain.
getFilteredResponse() - Method in class com.mockrunner.servlet.BasicServletTestCaseAdapter
getFilteredResponse() - Method in class com.mockrunner.servlet.ServletTestModule
Returns the last response from the filter chain.
getFilterName() - Method in class com.mockrunner.mock.web.MockFilterConfig
 
getForwardedRequest() - Method in class com.mockrunner.mock.web.MockRequestDispatcher
 
getForwardedResponse() - Method in class com.mockrunner.mock.web.MockRequestDispatcher
 
getHeader(String) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
getHeader(String) - Method in class com.mockrunner.mock.web.MockHttpServletResponse
 
getHeaderList(String) - Method in class com.mockrunner.mock.web.MockHttpServletResponse
 
getHeaderNames() - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
getHeaderNames() - Method in class com.mockrunner.mock.web.MockHttpServletResponse
 
getHeaders(String) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
getHeaders(String) - Method in class com.mockrunner.mock.web.MockHttpServletResponse
 
getHTMLOutputModule() - Method in class com.mockrunner.base.BasicHTMLOutputTestCase
Implemented by concrete subclasses.
getHTMLOutputModule() - Method in class com.mockrunner.servlet.BasicServletTestCaseAdapter
getId() - Method in class com.mockrunner.mock.web.MockHttpSession
 
getIds() - Method in class com.mockrunner.mock.web.MockSessionContext
 
getIncludeCodas() - Method in class com.mockrunner.mock.web.MockJspPropertyGroupDescriptor
 
getIncludedRequest() - Method in class com.mockrunner.mock.web.MockRequestDispatcher
 
getIncludedResponse() - Method in class com.mockrunner.mock.web.MockRequestDispatcher
 
getIncludePreludes() - Method in class com.mockrunner.mock.web.MockJspPropertyGroupDescriptor
 
getInitParameter(String) - Method in class com.mockrunner.mock.web.MockFilterConfig
Clears the init parameters.
getInitParameter(String) - Method in class com.mockrunner.mock.web.MockServletConfig
 
getInitParameter(String) - Method in class com.mockrunner.mock.web.MockServletContext
 
getInitParameterNames() - Method in class com.mockrunner.mock.web.MockFilterConfig
 
getInitParameterNames() - Method in class com.mockrunner.mock.web.MockServletConfig
 
getInitParameterNames() - Method in class com.mockrunner.mock.web.MockServletContext
 
getInputStream() - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
getIntHeader(String) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
getIsXml() - Method in class com.mockrunner.mock.web.MockJspPropertyGroupDescriptor
 
getJspApplicationContext(ServletContext) - Method in class com.mockrunner.mock.web.JasperJspFactory
 
getJspApplicationContext(ServletContext) - Method in class com.mockrunner.mock.web.MockJspFactory
 
getJspFactory() - Method in class com.mockrunner.mock.web.WebMockObjectFactory
Returns the JspFactory.
getJspPropertyGroups() - Method in class com.mockrunner.mock.web.MockJspConfigDescriptor
 
getLastAccessedTime() - Method in class com.mockrunner.mock.web.MockHttpSession
 
getLastRequest() - Method in class com.mockrunner.mock.web.MockFilterChain
Returns the last request, usually the request that was used to call the final servlet.
getLastResponse() - Method in class com.mockrunner.mock.web.MockFilterChain
Returns the last response, usually the response that was used to call the final servlet.
getLocalAddr() - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
getLocale() - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
getLocale() - Method in class com.mockrunner.mock.web.MockHttpServletResponse
 
getLocales() - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
getLocalName() - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
getLocalPort() - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
getMajorVersion() - Method in class com.mockrunner.mock.web.MockServletContext
 
getMaxAge() - Method in class com.mockrunner.mock.web.MockSessionCookieConfig
 
getMaxInactiveInterval() - Method in class com.mockrunner.mock.web.MockHttpSession
 
getMethod() - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
getMimeType(String) - Method in class com.mockrunner.mock.web.MockServletContext
 
getMinorVersion() - Method in class com.mockrunner.mock.web.MockServletContext
 
getMockFilterChain() - Method in class com.mockrunner.mock.web.WebMockObjectFactory
Returns the MockFilterChain.
getMockFilterConfig() - Method in class com.mockrunner.mock.web.WebMockObjectFactory
Returns the MockFilterConfig.
getMockJspFactory() - Method in class com.mockrunner.mock.web.WebMockObjectFactory
Returns the MockJspFactory.
getMockPageContext() - Method in class com.mockrunner.mock.web.WebMockObjectFactory
Returns the MockPageContext.
getMockRequest() - Method in class com.mockrunner.mock.web.WebMockObjectFactory
getMockResponse() - Method in class com.mockrunner.mock.web.WebMockObjectFactory
getMockServletConfig() - Method in class com.mockrunner.mock.web.WebMockObjectFactory
Returns the MockServletConfig
getMockServletContext() - Method in class com.mockrunner.mock.web.WebMockObjectFactory
Returns the MockServletContext.
getMockSession() - Method in class com.mockrunner.mock.web.WebMockObjectFactory
Returns the MockHttpSession.
getName() - Method in class com.mockrunner.mock.web.MockSessionCookieConfig
 
getName() - Method in class com.mockrunner.mock.web.MockUserPrincipal
 
getNamedDispatcher(String) - Method in class com.mockrunner.mock.web.MockServletContext
 
getOut() - Method in class com.mockrunner.mock.web.MockPageContext
 
getOutput() - Method in class com.mockrunner.base.BasicHTMLOutputTestCase
getOutput() - Method in class com.mockrunner.base.GenericHTMLOutputModule
 
getOutput() - Method in class com.mockrunner.base.HTMLOutputModule
Returns the output as a string.
getOutput() - Method in class com.mockrunner.servlet.ServletTestModule
Returns the servlet output as a string.
getOutputAsBufferedReader() - Method in class com.mockrunner.base.BasicHTMLOutputTestCase
getOutputAsBufferedReader() - Method in class com.mockrunner.base.HTMLOutputModule
Returns the output as a BufferedReader.
getOutputAsJDOMDocument() - Method in class com.mockrunner.base.BasicHTMLOutputTestCase
getOutputAsJDOMDocument() - Method in class com.mockrunner.base.HTMLOutputModule
Parses the output with the NekoHTML parser and returns it as a JDOM XML document.
getOutputAsString() - Method in class com.mockrunner.mock.web.MockBodyContent
 
getOutputAsString() - Method in class com.mockrunner.mock.web.MockJspWriter
Returns the output.
getOutputAsW3CDocument() - Method in class com.mockrunner.base.BasicHTMLOutputTestCase
getOutputAsW3CDocument() - Method in class com.mockrunner.base.HTMLOutputModule
Parses the output with the NekoHTML parser and returns it as a W3C XML document.
getOutputAsWellformedXML() - Method in class com.mockrunner.base.BasicHTMLOutputTestCase
getOutputAsWellformedXML() - Method in class com.mockrunner.base.HTMLOutputModule
Parses the output with the NekoHTML parser and returns it as fixed, wellformed XML.
getOutputStream() - Method in class com.mockrunner.mock.web.MockHttpServletResponse
 
getOutputStreamContent() - Method in class com.mockrunner.mock.web.MockHttpServletResponse
 
getPage() - Method in class com.mockrunner.mock.web.MockPageContext
 
getPageContext(Servlet, ServletRequest, ServletResponse, String, boolean, int, boolean) - Method in class com.mockrunner.mock.web.JasperJspFactory
 
getPageContext() - Method in class com.mockrunner.mock.web.MockJspFactory
Returns the PageContext.
getPageContext(Servlet, ServletRequest, ServletResponse, String, boolean, int, boolean) - Method in class com.mockrunner.mock.web.MockJspFactory
 
getPageEncoding() - Method in class com.mockrunner.mock.web.MockJspPropertyGroupDescriptor
 
getParameter(String) - Method in class com.mockrunner.example.servlet.ImageButtonRequestWrapper
 
getParameter(String) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
getParameterMap() - Method in class com.mockrunner.example.servlet.ImageButtonRequestWrapper
 
getParameterMap() - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
getParameterNames() - Method in class com.mockrunner.example.servlet.ImageButtonRequestWrapper
 
getParameterNames() - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
getParameterValues(String) - Method in class com.mockrunner.example.servlet.ImageButtonRequestWrapper
 
getParameterValues(String) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
getPath() - Method in class com.mockrunner.mock.web.MockRequestDispatcher
Returns the name or path used to retrieve this RequestDispatcher.
getPath() - Method in class com.mockrunner.mock.web.MockSessionCookieConfig
 
getPathInfo() - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
getPathTranslated() - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
getProtocol() - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
getQueryString() - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
getReader() - Method in class com.mockrunner.mock.web.MockBodyContent
 
getReader() - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
getRealPath(String) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
getRealPath(String) - Method in class com.mockrunner.mock.web.MockServletContext
 
getRemaining() - Method in class com.mockrunner.mock.web.MockBodyContent
 
getRemaining() - Method in class com.mockrunner.mock.web.MockJspWriter
 
getRemoteAddr() - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
getRemoteHost() - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
getRemotePort() - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
getRemoteUser() - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
getRequest() - Method in class com.mockrunner.mock.web.MockPageContext
 
getRequestAttribute(String) - Method in class com.mockrunner.base.BasicWebTestCase
getRequestAttribute(String) - Method in class com.mockrunner.base.WebTestModule
Returns the request attribute for the specified key
getRequestDispatcher(String) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
getRequestDispatcher(String) - Method in class com.mockrunner.mock.web.MockServletContext
 
getRequestDispatcherMap() - Method in class com.mockrunner.mock.web.MockHttpServletRequest
Returns the map of RequestDispatcher objects.
getRequestDispatcherMap() - Method in class com.mockrunner.mock.web.MockServletContext
Returns the map of RequestDispatcher objects.
getRequestedSessionId() - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
getRequestList() - Method in class com.mockrunner.mock.web.MockFilterChain
Returns the list of all request objects used to call MockFilterChain.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse) when iterating through the chain.
getRequestParameter(String) - Method in class com.mockrunner.base.BasicWebTestCase
getRequestParameter(String) - Method in class com.mockrunner.base.WebTestModule
Returns the request parameter for the specified key
getRequestURI() - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
getRequestURL() - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
getResource(String) - Method in class com.mockrunner.mock.web.MockServletContext
 
getResourceAsStream(String) - Method in class com.mockrunner.mock.web.MockServletContext
 
getResourcePaths(String) - Method in class com.mockrunner.mock.web.MockServletContext
 
getResponse() - Method in class com.mockrunner.mock.web.MockPageContext
 
getResponseList() - Method in class com.mockrunner.mock.web.MockFilterChain
Returns the list of all response objects used to call MockFilterChain.doFilter(javax.servlet.ServletRequest, javax.servlet.ServletResponse) when iterating through the chain.
getScheme() - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
getScriptingInvalid() - Method in class com.mockrunner.mock.web.MockJspPropertyGroupDescriptor
 
getServerInfo() - Method in class com.mockrunner.mock.web.MockServletContext
 
getServerName() - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
getServerPort() - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
getServlet(String) - Method in class com.mockrunner.mock.web.MockServletContext
 
getServlet() - Method in class com.mockrunner.servlet.BasicServletTestCaseAdapter
getServlet() - Method in class com.mockrunner.servlet.ServletTestModule
Returns the current servlet.
getServletConfig() - Method in class com.mockrunner.mock.web.MockPageContext
 
getServletContext() - Method in class com.mockrunner.mock.web.MockFilterConfig
 
getServletContext() - Method in class com.mockrunner.mock.web.MockHttpSession
 
getServletContext() - Method in class com.mockrunner.mock.web.MockPageContext
 
getServletContext() - Method in class com.mockrunner.mock.web.MockServletConfig
 
getServletContextName() - Method in class com.mockrunner.mock.web.MockServletContext
 
getServletName() - Method in class com.mockrunner.mock.web.MockServletConfig
 
getServletNames() - Method in class com.mockrunner.mock.web.MockServletContext
 
getServletPath() - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
getServlets() - Method in class com.mockrunner.mock.web.MockServletContext
 
getServletTestModule() - Method in class com.mockrunner.servlet.BasicServletTestCaseAdapter
getSession() - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
getSession(boolean) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
getSession() - Method in class com.mockrunner.mock.web.MockPageContext
 
getSession(String) - Method in class com.mockrunner.mock.web.MockSessionContext
 
getSession() - Method in class com.mockrunner.mock.web.WebMockObjectFactory
getSessionAttribute(String) - Method in class com.mockrunner.base.BasicWebTestCase
getSessionAttribute(String) - Method in class com.mockrunner.base.WebTestModule
Returns the session attribute for the specified key
getSessionContext() - Method in class com.mockrunner.mock.web.MockHttpSession
 
getSpecificationVersion() - Method in class com.mockrunner.mock.web.MockJspEngineInfo
 
getStatus() - Method in class com.mockrunner.mock.web.MockHttpServletResponse
 
getStatusCode() - Method in class com.mockrunner.mock.web.MockHttpServletResponse
 
getString() - Method in class com.mockrunner.mock.web.MockBodyContent
 
getTaglibLocation() - Method in class com.mockrunner.mock.web.MockTaglibDescriptor
 
getTaglibs() - Method in class com.mockrunner.mock.web.MockJspConfigDescriptor
 
getTaglibURI() - Method in class com.mockrunner.mock.web.MockTaglibDescriptor
 
getTrimDirectiveWhitespaces() - Method in class com.mockrunner.mock.web.MockJspPropertyGroupDescriptor
 
getUrlPatterns() - Method in class com.mockrunner.mock.web.MockJspPropertyGroupDescriptor
 
getUserPrincipal() - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
getValue(String) - Method in class com.mockrunner.mock.web.MockHttpSession
 
getValueNames() - Method in class com.mockrunner.mock.web.MockHttpSession
 
getVariableResolver() - Method in class com.mockrunner.mock.web.MockPageContext
 
getWebMockObjectFactory() - Method in class com.mockrunner.servlet.BasicServletTestCaseAdapter
getWebTestModule() - Method in class com.mockrunner.base.BasicHTMLOutputTestCase
 
getWebTestModule() - Method in class com.mockrunner.base.BasicWebTestCase
Implemented by concrete subclasses.
getWrappedRequest() - Method in class com.mockrunner.mock.web.WebMockObjectFactory
Returns the wrapped HttpServletRequest.
getWrappedResponse() - Method in class com.mockrunner.mock.web.WebMockObjectFactory
Returns the wrapped HttpServletResponse.
getWriter() - Method in class com.mockrunner.mock.web.MockHttpServletResponse
 

H

handlePageException(Exception) - Method in class com.mockrunner.mock.web.MockPageContext
 
handlePageException(Throwable) - Method in class com.mockrunner.mock.web.MockPageContext
 
HTMLOutputModule - Class in com.mockrunner.base
Base class for modules which produce HTML code as output.
HTMLOutputModule(WebMockObjectFactory) - Constructor for class com.mockrunner.base.HTMLOutputModule
 

I

ImageButtonFilter - Class in com.mockrunner.example.servlet
This example filter replaces request parameters from submit images (<input type="image"/>) with the appropriate submit button parameters (<input type="submit"/>), i.e.
ImageButtonFilter() - Constructor for class com.mockrunner.example.servlet.ImageButtonFilter
 
ImageButtonFilterTest - Class in com.mockrunner.example.servlet
Example test for the ImageButtonFilter.
ImageButtonFilterTest() - Constructor for class com.mockrunner.example.servlet.ImageButtonFilterTest
 
ImageButtonRequestWrapper - Class in com.mockrunner.example.servlet
The request wrapper for ImageButtonFilter.
ImageButtonRequestWrapper(HttpServletRequest) - Constructor for class com.mockrunner.example.servlet.ImageButtonRequestWrapper
 
include(String) - Method in class com.mockrunner.mock.web.MockPageContext
 
include(String, boolean) - Method in class com.mockrunner.mock.web.MockPageContext
 
include(ServletRequest, ServletResponse) - Method in class com.mockrunner.mock.web.MockRequestDispatcher
 
init(FilterConfig) - Method in class com.mockrunner.example.servlet.ImageButtonFilter
 
init() - Method in class com.mockrunner.servlet.BasicServletTestCaseAdapter
init() - Method in class com.mockrunner.servlet.ServletTestModule
Calls the current servlets init method.
initialize(Servlet, ServletRequest, ServletResponse, String, boolean, int, boolean) - Method in class com.mockrunner.mock.web.MockPageContext
 
invalidate() - Method in class com.mockrunner.mock.web.MockHttpSession
 
isAsyncSupported() - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
isCommitted() - Method in class com.mockrunner.mock.web.MockHttpServletResponse
 
isHttpOnly() - Method in class com.mockrunner.mock.web.MockSessionCookieConfig
 
isNew() - Method in class com.mockrunner.mock.web.MockHttpSession
 
isRequestedSessionIdFromCookie() - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
isRequestedSessionIdFromUrl() - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
isRequestedSessionIdFromURL() - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
isRequestedSessionIdValid() - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
isSecure() - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
isSecure() - Method in class com.mockrunner.mock.web.MockSessionCookieConfig
 
isUserInRole(String) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
isValid() - Method in class com.mockrunner.mock.web.MockHttpSession
 

J

JasperJspFactory - Class in com.mockrunner.mock.web
This implementation of JspFactory provides full support of the Unified Expression Language API.
JasperJspFactory() - Constructor for class com.mockrunner.mock.web.JasperJspFactory
 

L

log(Exception, String) - Method in class com.mockrunner.mock.web.MockServletContext
 
log(String, Throwable) - Method in class com.mockrunner.mock.web.MockServletContext
 
log(String) - Method in class com.mockrunner.mock.web.MockServletContext
 
LogoutServlet - Class in com.mockrunner.example.servlet
This example servlet invalidates the session and redirects to a goodbye page when the user clicks the logout button (i.e.
LogoutServlet() - Constructor for class com.mockrunner.example.servlet.LogoutServlet
 
LogoutServletTest - Class in com.mockrunner.example.servlet
Example test for LogoutServlet.
LogoutServletTest() - Constructor for class com.mockrunner.example.servlet.LogoutServletTest
 

M

MockBodyContent - Class in com.mockrunner.mock.web
Mock implementation of BodyContent.
MockBodyContent(JspWriter) - Constructor for class com.mockrunner.mock.web.MockBodyContent
 
MockExpression - Class in com.mockrunner.mock.web
Mock implementation of Expression.
MockExpression(ExpressionEvaluator, String, Class, FunctionMapper) - Constructor for class com.mockrunner.mock.web.MockExpression
 
MockExpressionEvaluator - Class in com.mockrunner.mock.web
Mock implementation of ExpressionEvaluator.
MockExpressionEvaluator() - Constructor for class com.mockrunner.mock.web.MockExpressionEvaluator
 
MockFilterChain - Class in com.mockrunner.mock.web
Mock implementation of FilterChain.
MockFilterChain() - Constructor for class com.mockrunner.mock.web.MockFilterChain
 
MockFilterConfig - Class in com.mockrunner.mock.web
Mock implementation of FilterConfig.
MockFilterConfig() - Constructor for class com.mockrunner.mock.web.MockFilterConfig
 
MockFunctionMapper - Class in com.mockrunner.mock.web
Mock implementation of FunctionMapper.
MockFunctionMapper() - Constructor for class com.mockrunner.mock.web.MockFunctionMapper
 
MockHttpServletRequest - Class in com.mockrunner.mock.web
Mock implementation of HttpServletRequest.
MockHttpServletRequest() - Constructor for class com.mockrunner.mock.web.MockHttpServletRequest
 
MockHttpServletResponse - Class in com.mockrunner.mock.web
Mock implementation of HttpServletResponse.
MockHttpServletResponse() - Constructor for class com.mockrunner.mock.web.MockHttpServletResponse
 
MockHttpSession - Class in com.mockrunner.mock.web
Mock implementation of HttpSession.
MockHttpSession() - Constructor for class com.mockrunner.mock.web.MockHttpSession
 
MockJspConfigDescriptor - Class in com.mockrunner.mock.web
 
MockJspConfigDescriptor() - Constructor for class com.mockrunner.mock.web.MockJspConfigDescriptor
 
MockJspEngineInfo - Class in com.mockrunner.mock.web
Mock implementation of JspEngineInfo.
MockJspEngineInfo() - Constructor for class com.mockrunner.mock.web.MockJspEngineInfo
 
MockJspFactory - Class in com.mockrunner.mock.web
Mock implementation of JspFactory.
MockJspFactory() - Constructor for class com.mockrunner.mock.web.MockJspFactory
 
MockJspPropertyGroupDescriptor - Class in com.mockrunner.mock.web
Mock implementation of JspPropertyGroupDescriptor.
MockJspPropertyGroupDescriptor() - Constructor for class com.mockrunner.mock.web.MockJspPropertyGroupDescriptor
 
MockJspWriter - Class in com.mockrunner.mock.web
Mock implementation of JspWriter.
MockJspWriter() - Constructor for class com.mockrunner.mock.web.MockJspWriter
 
MockJspWriter(HttpServletResponse) - Constructor for class com.mockrunner.mock.web.MockJspWriter
 
MockJspWriter(Writer) - Constructor for class com.mockrunner.mock.web.MockJspWriter
 
MockPageContext - Class in com.mockrunner.mock.web
Mock implementation of PageContext.
MockPageContext() - Constructor for class com.mockrunner.mock.web.MockPageContext
 
MockPageContext(ServletConfig, ServletRequest, ServletResponse) - Constructor for class com.mockrunner.mock.web.MockPageContext
 
MockRegistration - Class in com.mockrunner.mock.web
Mock implementation of Registration.
MockRegistration() - Constructor for class com.mockrunner.mock.web.MockRegistration
 
MockRequestDispatcher - Class in com.mockrunner.mock.web
Mock implementation of RequestDispatcher.
MockRequestDispatcher() - Constructor for class com.mockrunner.mock.web.MockRequestDispatcher
 
MockServletConfig - Class in com.mockrunner.mock.web
Mock implementation of ServletConfig.
MockServletConfig() - Constructor for class com.mockrunner.mock.web.MockServletConfig
 
MockServletContext - Class in com.mockrunner.mock.web
Mock implementation of ServletContext.
MockServletContext() - Constructor for class com.mockrunner.mock.web.MockServletContext
 
MockServletInputStream - Class in com.mockrunner.mock.web
Mock implementation of ServletInputStream.
MockServletInputStream(byte[]) - Constructor for class com.mockrunner.mock.web.MockServletInputStream
 
MockServletOutputStream - Class in com.mockrunner.mock.web
Mock implementation of ServletOutputStream.
MockServletOutputStream() - Constructor for class com.mockrunner.mock.web.MockServletOutputStream
 
MockServletOutputStream(String) - Constructor for class com.mockrunner.mock.web.MockServletOutputStream
 
MockServletRegistration - Class in com.mockrunner.mock.web
Mock implementation of ServletRegistration.
MockServletRegistration() - Constructor for class com.mockrunner.mock.web.MockServletRegistration
 
MockSessionContext - Class in com.mockrunner.mock.web
Mock implementation of HttpSessionContext.
MockSessionContext() - Constructor for class com.mockrunner.mock.web.MockSessionContext
 
MockSessionCookieConfig - Class in com.mockrunner.mock.web
Mock implementation of SessionCookieConfig.
MockSessionCookieConfig() - Constructor for class com.mockrunner.mock.web.MockSessionCookieConfig
 
MockTaglibDescriptor - Class in com.mockrunner.mock.web
Mock implementation of TaglibDescriptor.
MockTaglibDescriptor() - Constructor for class com.mockrunner.mock.web.MockTaglibDescriptor
 
MockUserPrincipal - Class in com.mockrunner.mock.web
Mock implementation of Principal.
MockUserPrincipal(String) - Constructor for class com.mockrunner.mock.web.MockUserPrincipal
 
MockVariableResolver - Class in com.mockrunner.mock.web
Mock implementation of VariableResolver.
MockVariableResolver() - Constructor for class com.mockrunner.mock.web.MockVariableResolver
 

N

newLine() - Method in class com.mockrunner.mock.web.MockBodyContent
 
newLine() - Method in class com.mockrunner.mock.web.MockJspWriter
 

P

parseExpression(String, Class, FunctionMapper) - Method in class com.mockrunner.mock.web.MockExpressionEvaluator
 
popBody() - Method in class com.mockrunner.mock.web.MockPageContext
 
print(boolean) - Method in class com.mockrunner.mock.web.MockBodyContent
 
print(char) - Method in class com.mockrunner.mock.web.MockBodyContent
 
print(int) - Method in class com.mockrunner.mock.web.MockBodyContent
 
print(long) - Method in class com.mockrunner.mock.web.MockBodyContent
 
print(float) - Method in class com.mockrunner.mock.web.MockBodyContent
 
print(double) - Method in class com.mockrunner.mock.web.MockBodyContent
 
print(char[]) - Method in class com.mockrunner.mock.web.MockBodyContent
 
print(String) - Method in class com.mockrunner.mock.web.MockBodyContent
 
print(Object) - Method in class com.mockrunner.mock.web.MockBodyContent
 
print(boolean) - Method in class com.mockrunner.mock.web.MockJspWriter
 
print(char) - Method in class com.mockrunner.mock.web.MockJspWriter
 
print(char[]) - Method in class com.mockrunner.mock.web.MockJspWriter
 
print(double) - Method in class com.mockrunner.mock.web.MockJspWriter
 
print(float) - Method in class com.mockrunner.mock.web.MockJspWriter
 
print(int) - Method in class com.mockrunner.mock.web.MockJspWriter
 
print(long) - Method in class com.mockrunner.mock.web.MockJspWriter
 
print(Object) - Method in class com.mockrunner.mock.web.MockJspWriter
 
print(String) - Method in class com.mockrunner.mock.web.MockJspWriter
 
println() - Method in class com.mockrunner.mock.web.MockBodyContent
 
println(boolean) - Method in class com.mockrunner.mock.web.MockBodyContent
 
println(char) - Method in class com.mockrunner.mock.web.MockBodyContent
 
println(int) - Method in class com.mockrunner.mock.web.MockBodyContent
 
println(long) - Method in class com.mockrunner.mock.web.MockBodyContent
 
println(float) - Method in class com.mockrunner.mock.web.MockBodyContent
 
println(double) - Method in class com.mockrunner.mock.web.MockBodyContent
 
println(char[]) - Method in class com.mockrunner.mock.web.MockBodyContent
 
println(String) - Method in class com.mockrunner.mock.web.MockBodyContent
 
println(Object) - Method in class com.mockrunner.mock.web.MockBodyContent
 
println() - Method in class com.mockrunner.mock.web.MockJspWriter
 
println(boolean) - Method in class com.mockrunner.mock.web.MockJspWriter
 
println(char) - Method in class com.mockrunner.mock.web.MockJspWriter
 
println(char[]) - Method in class com.mockrunner.mock.web.MockJspWriter
 
println(double) - Method in class com.mockrunner.mock.web.MockJspWriter
 
println(float) - Method in class com.mockrunner.mock.web.MockJspWriter
 
println(int) - Method in class com.mockrunner.mock.web.MockJspWriter
 
println(long) - Method in class com.mockrunner.mock.web.MockJspWriter
 
println(Object) - Method in class com.mockrunner.mock.web.MockJspWriter
 
println(String) - Method in class com.mockrunner.mock.web.MockJspWriter
 
pushBody() - Method in class com.mockrunner.mock.web.MockPageContext
 
pushBody(Writer) - Method in class com.mockrunner.mock.web.MockPageContext
 
putValue(String, Object) - Method in class com.mockrunner.mock.web.MockHttpSession
 

R

read() - Method in class com.mockrunner.mock.web.MockServletInputStream
 
RedirectServlet - Class in com.mockrunner.example.servlet
This example servlet creates an html page thats redirects to a specified URL.
RedirectServlet() - Constructor for class com.mockrunner.example.servlet.RedirectServlet
 
RedirectServletTest - Class in com.mockrunner.example.servlet
Example test for RedirectServlet.
RedirectServletTest() - Constructor for class com.mockrunner.example.servlet.RedirectServletTest
 
refresh() - Method in class com.mockrunner.mock.web.WebMockObjectFactory
Refreshes the mock objects dependencies.
release() - Method in class com.mockrunner.mock.web.MockFilterChain
Clears all filters and sets the current servlet to null.
release() - Method in class com.mockrunner.mock.web.MockPageContext
 
releaseFilters() - Method in class com.mockrunner.servlet.BasicServletTestCaseAdapter
releaseFilters() - Method in class com.mockrunner.servlet.ServletTestModule
Deletes all filters in the filter chain.
releasePageContext(PageContext) - Method in class com.mockrunner.mock.web.JasperJspFactory
 
releasePageContext(PageContext) - Method in class com.mockrunner.mock.web.MockJspFactory
 
removeAttribute(String) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
removeAttribute(String) - Method in class com.mockrunner.mock.web.MockHttpSession
 
removeAttribute(String) - Method in class com.mockrunner.mock.web.MockPageContext
 
removeAttribute(String, int) - Method in class com.mockrunner.mock.web.MockPageContext
 
removeAttribute(String) - Method in class com.mockrunner.mock.web.MockServletContext
 
removeValue(String) - Method in class com.mockrunner.mock.web.MockHttpSession
 
request - Variable in class com.mockrunner.mock.web.MockPageContext
 
reset() - Method in class com.mockrunner.mock.web.MockFilterChain
Resets the internal iterator of this chain.
reset() - Method in class com.mockrunner.mock.web.MockHttpServletResponse
 
reset() - Method in class com.mockrunner.mock.web.MockJspConfigDescriptor
 
reset() - Method in class com.mockrunner.mock.web.MockJspPropertyGroupDescriptor
 
resetAll() - Method in class com.mockrunner.mock.web.MockHttpServletRequest
Resets the state of this object to the default values
resetAll() - Method in class com.mockrunner.mock.web.MockHttpServletResponse
Resets the state of this object to the default values
resetAll() - Method in class com.mockrunner.mock.web.MockHttpSession
Resets the state of this object to the default values
resetAll() - Method in class com.mockrunner.mock.web.MockServletContext
Resets the state of this object to the default values
resetBuffer() - Method in class com.mockrunner.mock.web.MockHttpServletResponse
 
resolveFunction(String, String) - Method in class com.mockrunner.mock.web.MockFunctionMapper
 
resolveVariable(String) - Method in class com.mockrunner.mock.web.MockVariableResolver
 
response - Variable in class com.mockrunner.mock.web.MockPageContext
 

S

sendError(int, String) - Method in class com.mockrunner.mock.web.MockHttpServletResponse
 
sendError(int) - Method in class com.mockrunner.mock.web.MockHttpServletResponse
 
sendRedirect(String) - Method in class com.mockrunner.mock.web.MockHttpServletResponse
 
service() - Method in class com.mockrunner.servlet.BasicServletTestCaseAdapter
service() - Method in class com.mockrunner.servlet.ServletTestModule
Calls the current servlets service method.
ServletTestModule - Class in com.mockrunner.servlet
Module for servlet and filter tests.
ServletTestModule(WebMockObjectFactory) - Constructor for class com.mockrunner.servlet.ServletTestModule
 
setAsyncSupported(boolean) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
setAttribute(String, Object) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
setAttribute(String, Object) - Method in class com.mockrunner.mock.web.MockHttpSession
 
setAttribute(String, Object) - Method in class com.mockrunner.mock.web.MockPageContext
 
setAttribute(String, Object, int) - Method in class com.mockrunner.mock.web.MockPageContext
 
setAttribute(String, Object) - Method in class com.mockrunner.mock.web.MockServletContext
 
setAuthType(String) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
setBodyContent(byte[]) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
setBodyContent(String) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
setBuffer(String) - Method in class com.mockrunner.mock.web.MockJspPropertyGroupDescriptor
Sets the buffer size.
setBufferSize(int) - Method in class com.mockrunner.mock.web.MockHttpServletResponse
 
setCaseSensitive(boolean) - Method in class com.mockrunner.base.BasicHTMLOutputTestCase
setCaseSensitive(boolean) - Method in class com.mockrunner.base.HTMLOutputModule
setCharacterEncoding(String) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
setCharacterEncoding(String) - Method in class com.mockrunner.mock.web.MockHttpServletResponse
 
setComment(String) - Method in class com.mockrunner.mock.web.MockSessionCookieConfig
 
setContentLength(int) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
setContentLength(int) - Method in class com.mockrunner.mock.web.MockHttpServletResponse
 
setContentType(String) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
setContentType(String) - Method in class com.mockrunner.mock.web.MockHttpServletResponse
 
setContext(String, ServletContext) - Method in class com.mockrunner.mock.web.MockServletContext
Sets a ServletContext that will be returned when calling MockServletContext.getContext(java.lang.String)
setContextPath(String) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
setContextPath(String) - Method in class com.mockrunner.mock.web.MockServletContext
 
setDateHeader(String, long) - Method in class com.mockrunner.mock.web.MockHttpServletResponse
 
setDefaultContentType(String) - Method in class com.mockrunner.mock.web.MockJspPropertyGroupDescriptor
Sets the default content type.
setDefaultJspFactory(JspFactory) - Method in class com.mockrunner.mock.web.WebMockObjectFactory
Sets the default JspFactory by calling JspFactory.setDefaultFactory().
setDeferredSyntaxAllowedAsLiteral(String) - Method in class com.mockrunner.mock.web.MockJspPropertyGroupDescriptor
Sets if the deferred character sequence is allowed as literal text.
setDoChain(boolean) - Method in class com.mockrunner.servlet.BasicServletTestCaseAdapter
setDoChain(boolean) - Method in class com.mockrunner.servlet.ServletTestModule
If doChain is set to true (default is false) every call of one of the servlet methods will go through the filter chain before calling the servlet method.
setDomain(String) - Method in class com.mockrunner.mock.web.MockSessionCookieConfig
 
setEffectiveMajorVersion(int) - Method in class com.mockrunner.mock.web.MockServletContext
 
setEffectiveMinorVersion(int) - Method in class com.mockrunner.mock.web.MockServletContext
 
setELContext(ELContext) - Method in class com.mockrunner.mock.web.MockPageContext
Sets the ELContext.
setElIgnored(String) - Method in class com.mockrunner.mock.web.MockJspPropertyGroupDescriptor
Sets if EL evaluation is disabled or enabled.
setEncoding(String) - Method in class com.mockrunner.mock.web.MockServletOutputStream
 
setEngineInfo(JspEngineInfo) - Method in class com.mockrunner.mock.web.JasperJspFactory
Set the JspEngineInfo.
setEngineInfo(JspEngineInfo) - Method in class com.mockrunner.mock.web.MockJspFactory
Set the JspEngineInfo.
setErrorOnUndeclaredNamespace(String) - Method in class com.mockrunner.mock.web.MockJspPropertyGroupDescriptor
Sets if an error should be raised on undeclared namespace.
setException(Exception) - Method in class com.mockrunner.mock.web.MockPageContext
 
setExpressionEvaluator(ExpressionEvaluator) - Method in class com.mockrunner.mock.web.MockPageContext
Sets the expression evaluator.
setFilterName(String) - Method in class com.mockrunner.mock.web.MockFilterConfig
 
setHeader(String, String) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
setHeader(String, String) - Method in class com.mockrunner.mock.web.MockHttpServletResponse
 
setHttpOnly(boolean) - Method in class com.mockrunner.mock.web.MockSessionCookieConfig
 
setInitParameter(String, String) - Method in class com.mockrunner.mock.web.MockFilterConfig
Sets an init parameter.
setInitParameter(String, String) - Method in class com.mockrunner.mock.web.MockServletConfig
Sets an init parameter.
setInitParameter(String, String) - Method in class com.mockrunner.mock.web.MockServletContext
Sets an init parameter.
setInitParameters(Map) - Method in class com.mockrunner.mock.web.MockFilterConfig
Sets several init parameters.
setInitParameters(Map) - Method in class com.mockrunner.mock.web.MockServletConfig
Sets several init parameters.
setInitParameters(Map) - Method in class com.mockrunner.mock.web.MockServletContext
Sets several init parameters.
setIntHeader(String, int) - Method in class com.mockrunner.mock.web.MockHttpServletResponse
 
setIsXml(String) - Method in class com.mockrunner.mock.web.MockJspPropertyGroupDescriptor
Sets if it is an XML JSP document.
setJspApplicationContext(JspApplicationContext) - Method in class com.mockrunner.mock.web.MockJspFactory
Set the JspApplicationContext.
setJspWriter(JspWriter) - Method in class com.mockrunner.mock.web.MockPageContext
This method allows to set custom implementations of JspWriter.
setLocalAddr(String) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
setLocale(Locale) - Method in class com.mockrunner.mock.web.MockHttpServletResponse
 
setLocalName(String) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
setLocalPort(int) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
setMajorVersion(int) - Method in class com.mockrunner.mock.web.MockServletContext
 
setMaxAge(int) - Method in class com.mockrunner.mock.web.MockSessionCookieConfig
 
setMaxInactiveInterval(int) - Method in class com.mockrunner.mock.web.MockHttpSession
 
setMethod(String) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
setMimeType(String, String) - Method in class com.mockrunner.mock.web.MockServletContext
 
setMinorVersion(int) - Method in class com.mockrunner.mock.web.MockServletContext
 
setName(String) - Method in class com.mockrunner.mock.web.MockSessionCookieConfig
 
setPage(Object) - Method in class com.mockrunner.mock.web.MockPageContext
 
setPageContext(PageContext) - Method in class com.mockrunner.mock.web.MockJspFactory
Set the PageContext.
setPageEncoding(String) - Method in class com.mockrunner.mock.web.MockJspPropertyGroupDescriptor
Sets the page encoding.
setPath(String) - Method in class com.mockrunner.mock.web.MockRequestDispatcher
Sets the path for this RequestDispatcher.
setPath(String) - Method in class com.mockrunner.mock.web.MockSessionCookieConfig
 
setPathInfo(String) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
setPathTranslated(String) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
setProtocol(String) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
setQueryString(String) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
setRealPath(String, String) - Method in class com.mockrunner.mock.web.MockServletContext
 
setRemoteAddr(String) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
setRemoteHost(String) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
setRemotePort(int) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
setRemoteUser(String) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
setRequestAttribute(String, Object) - Method in class com.mockrunner.base.BasicWebTestCase
setRequestAttribute(String, Object) - Method in class com.mockrunner.base.WebTestModule
Sets the request attribute for the specified key
setRequestDispatcher(String, RequestDispatcher) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
Sets a RequestDispatcher that will be returned when calling MockHttpServletRequest.getRequestDispatcher(java.lang.String) with the specified path.
setRequestDispatcher(String, RequestDispatcher) - Method in class com.mockrunner.mock.web.MockServletContext
Sets a RequestDispatcher that will be returned when calling MockServletContext.getRequestDispatcher(java.lang.String) or MockServletContext.getNamedDispatcher(java.lang.String) with the specified path or name.
setRequestedSessionIdFromCookie(boolean) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
setRequestURI(String) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
setRequestURL(String) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
setResource(String, URL) - Method in class com.mockrunner.mock.web.MockServletContext
 
setResourceAsStream(String, InputStream) - Method in class com.mockrunner.mock.web.MockServletContext
 
setResourceAsStream(String, byte[]) - Method in class com.mockrunner.mock.web.MockServletContext
 
setScheme(String) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
setScriptingInvalid(String) - Method in class com.mockrunner.mock.web.MockJspPropertyGroupDescriptor
Sets if scripting is invalid.
setSecure(boolean) - Method in class com.mockrunner.mock.web.MockSessionCookieConfig
 
setServerName(String) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
setServerPort(int) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
setServlet(Servlet) - Method in class com.mockrunner.mock.web.MockFilterChain
Sets the servlet that is called at the end of the chain.
setServlet(HttpServlet) - Method in class com.mockrunner.servlet.BasicServletTestCaseAdapter
setServlet(HttpServlet, boolean) - Method in class com.mockrunner.servlet.BasicServletTestCaseAdapter
setServlet(HttpServlet) - Method in class com.mockrunner.servlet.ServletTestModule
Sets the specified servlet as the current servlet without initializing it.
setServlet(HttpServlet, boolean) - Method in class com.mockrunner.servlet.ServletTestModule
Sets the specified servlet as the current servlet.
setServletConfig(ServletConfig) - Method in class com.mockrunner.mock.web.MockPageContext
Sets the ServletConfig.
setServletContext(ServletContext) - Method in class com.mockrunner.mock.web.MockServletConfig
Sets the ServletContext.
setServletContextName(String) - Method in class com.mockrunner.mock.web.MockServletContext
 
setServletName(String) - Method in class com.mockrunner.mock.web.MockServletConfig
 
setServletPath(String) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
setServletRequest(ServletRequest) - Method in class com.mockrunner.mock.web.MockPageContext
Sets the ServletRequest.
setServletResponse(ServletResponse) - Method in class com.mockrunner.mock.web.MockPageContext
Sets the ServletResponse.
setServletTestModule(ServletTestModule) - Method in class com.mockrunner.servlet.BasicServletTestCaseAdapter
setSession(HttpSession) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
Sets the HttpSession.
setSessionAttribute(String, Object) - Method in class com.mockrunner.base.BasicWebTestCase
setSessionAttribute(String, Object) - Method in class com.mockrunner.base.WebTestModule
Sets the session attribute for the specified key
setSpecificationVersion(String) - Method in class com.mockrunner.mock.web.MockJspEngineInfo
 
setStatus(int, String) - Method in class com.mockrunner.mock.web.MockHttpServletResponse
 
setStatus(int) - Method in class com.mockrunner.mock.web.MockHttpServletResponse
 
setTaglibLocation(String) - Method in class com.mockrunner.mock.web.MockTaglibDescriptor
Sets the taglib location.
setTaglibURI(String) - Method in class com.mockrunner.mock.web.MockTaglibDescriptor
Sets the taglib URI.
setTrimDirectiveWhitespaces(String) - Method in class com.mockrunner.mock.web.MockJspPropertyGroupDescriptor
Sets if directive whitespaces should be trimmed.
setUp() - Method in class com.mockrunner.example.servlet.ImageButtonFilterTest
 
setUp() - Method in class com.mockrunner.example.servlet.LogoutServletTest
 
setUp() - Method in class com.mockrunner.example.servlet.RedirectServletTest
 
setUp() - Method in class com.mockrunner.servlet.BasicServletTestCaseAdapter
Creates the ServletTestModule.
setupAddParameter(String, String[]) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
Adds a request multivalue parameter.
setupAddParameter(String, String) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
Adds a request parameter.
setUpIsNew(boolean) - Method in class com.mockrunner.mock.web.MockHttpSession
 
setupServletContext(ServletContext) - Method in class com.mockrunner.mock.web.MockFilterConfig
Sets the ServletContext.
setupServletContext(ServletContext) - Method in class com.mockrunner.mock.web.MockHttpSession
Set the ServletContext.
setUserInRole(String, boolean) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
setUserPrincipal(Principal) - Method in class com.mockrunner.mock.web.MockHttpServletRequest
 
setVariableResolver(VariableResolver) - Method in class com.mockrunner.mock.web.MockPageContext
Sets the variable resolver.
setWebMockObjectFactory(WebMockObjectFactory) - Method in class com.mockrunner.servlet.BasicServletTestCaseAdapter

T

tearDown() - Method in class com.mockrunner.servlet.BasicServletTestCaseAdapter
 
testDoLogout() - Method in class com.mockrunner.example.servlet.LogoutServletTest
 
testDoLogoutWithFilteredImageButton() - Method in class com.mockrunner.example.servlet.LogoutServletTest
 
testImageButtonParameter() - Method in class com.mockrunner.example.servlet.ImageButtonFilterTest
 
testServletOutput() - Method in class com.mockrunner.example.servlet.RedirectServletTest
 
testServletOutputAsXML() - Method in class com.mockrunner.example.servlet.RedirectServletTest
 
toString() - Method in class com.mockrunner.mock.web.MockBodyContent
 
toString() - Method in class com.mockrunner.mock.web.MockJspWriter

V

verifyOutput(String) - Method in class com.mockrunner.base.BasicHTMLOutputTestCase
verifyOutput(String) - Method in class com.mockrunner.base.HTMLOutputModule
Verifies the tag output.
verifyOutputContains(String) - Method in class com.mockrunner.base.BasicHTMLOutputTestCase
verifyOutputContains(String) - Method in class com.mockrunner.base.HTMLOutputModule
Verifies if the output contains the specified data.
verifyOutputRegularExpression(String) - Method in class com.mockrunner.base.BasicHTMLOutputTestCase
verifyOutputRegularExpression(String) - Method in class com.mockrunner.base.HTMLOutputModule
Verifies if the output matches the specified regular expression.

W

wasErrorSent() - Method in class com.mockrunner.mock.web.MockHttpServletResponse
 
wasRedirectSent() - Method in class com.mockrunner.mock.web.MockHttpServletResponse
 
WebConstants - Interface in com.mockrunner.mock.web
 
WebMockObjectFactory - Class in com.mockrunner.mock.web
Used to create all types of web mock objects.
WebMockObjectFactory() - Constructor for class com.mockrunner.mock.web.WebMockObjectFactory
Creates a new set of mock objects.
WebMockObjectFactory(WebMockObjectFactory) - Constructor for class com.mockrunner.mock.web.WebMockObjectFactory
Creates a set of mock objects based on another one.
WebMockObjectFactory(WebMockObjectFactory, boolean) - Constructor for class com.mockrunner.mock.web.WebMockObjectFactory
Creates a set of mock objects based on another one.
WebTestModule - Class in com.mockrunner.base
This class provides some convenience methods for request and session attribute handling
WebTestModule(WebMockObjectFactory) - Constructor for class com.mockrunner.base.WebTestModule
 
write(char[], int, int) - Method in class com.mockrunner.mock.web.MockBodyContent
 
write(char[], int, int) - Method in class com.mockrunner.mock.web.MockJspWriter
 
write(int) - Method in class com.mockrunner.mock.web.MockServletOutputStream
 
writeOut(Writer) - Method in class com.mockrunner.mock.web.MockBodyContent
 
A B C D E F G H I J L M N P R S T V W 
Skip navigation links

Copyright © 2003-2018. All Rights Reserved.