addExpectedAttribute
public void addExpectedAttribute(String key,
Object value)
addRealPath
public void addRealPath(String realPath)
getAttribute
public Object getAttribute(String string)
getAttributeNames
public Enumeration getAttributeNames()
getContext
public ServletContext getContext(String string)
getInitParameter
public String getInitParameter(String paramName)
getInitParameterNames
public Enumeration getInitParameterNames()
getMajorVersion
public int getMajorVersion()
getMimeType
public String getMimeType(String string)
getMinorVersion
public int getMinorVersion()
getNamedDispatcher
public RequestDispatcher getNamedDispatcher(String string)
getRealPath
public String getRealPath(String string)
getRequestDispatcher
public RequestDispatcher getRequestDispatcher(String uri)
getResource
public URL getResource(String string)
getResourceAsStream
public InputStream getResourceAsStream(String string)
getResourcePaths
public Set getResourcePaths()
getResourcePaths
public Set getResourcePaths(String string)
getServerInfo
public String getServerInfo()
getServlet
public Servlet getServlet(String string)
getServletContextName
public String getServletContextName()
getServletNames
public Enumeration getServletNames()
getServlets
public Enumeration getServlets()
log
public void log(Exception exception,
String string)
log
public void log(String string)
log
public void log(String string,
Throwable t)
removeAttribute
public void removeAttribute(String string)
setAttribute
public void setAttribute(String key,
Object value)
setExpectedLog
public void setExpectedLog(String string)
setExpectedLogThrowable
public void setExpectedLogThrowable(Throwable throwable)
setExpectedRequestDispatcherURI
public void setExpectedRequestDispatcherURI(String uri)
setInitParameter
public void setInitParameter(String paramName,
String paramValue)
setupGetAttribute
public void setupGetAttribute(String string,
Object object)
setupGetRequestDispatcher
public void setupGetRequestDispatcher(RequestDispatcher requestDispatcher)
setupGetResource
public void setupGetResource(URL resource)
setupGetResourcePaths
public void setupGetResourcePaths(Set resourcePaths)