org.apache.velocity.test
static class VelocityServletTest.MockServletContext extends Object implements ServletContext
Method Summary | |
---|---|
Object | getAttribute(String ignored) |
Enumeration | getAttributeNames() |
ServletContext | getContext(String ignored) |
String | getInitParameter(String ignored) |
Enumeration | getInitParameterNames() |
int | getMajorVersion() |
String | getMimeType(String ignored) |
int | getMinorVersion() |
RequestDispatcher | getNamedDispatcher(String ignored) |
String | getRealPath(String ignored) |
RequestDispatcher | getRequestDispatcher(String ignored) |
URL | getResource(String ignored) |
InputStream | getResourceAsStream(String ignored) |
Set | getResourcePaths(String path) |
String | getServerInfo() |
Servlet | getServlet(String ignored) |
String | getServletContextName() |
Enumeration | getServletNames() |
Enumeration | getServlets() |
void | log(Exception e, String msg) |
void | log(String msg) |
void | log(String msg, Throwable t) |
void | removeAttribute(String name) |
void | setAttribute(String name, Object value) |