Class Overview
A mock implementation of javax.servlet.ServletContext
Summary
[Expand]
Inherited Methods |
From class
java.lang.Object
Object
|
clone()
|
boolean
|
equals(Object arg0)
|
void
|
finalize()
|
final
Class<?>
|
getClass()
|
int
|
hashCode()
|
final
void
|
notify()
|
final
void
|
notifyAll()
|
String
|
toString()
|
final
void
|
wait()
|
final
void
|
wait(long arg0, int arg1)
|
final
void
|
wait(long arg0)
|
|
From interface
javax.servlet.ServletContext
|
Public Constructors
public
MockServletContext
()
public
MockServletContext
(String realPath)
Public Methods
public
ServletContext
getContext
(String s)
public
int
getMajorVersion
()
public
int
getMinorVersion
()
public
RequestDispatcher
getNamedDispatcher
(String s)
public
RequestDispatcher
getRequestDispatcher
(String s)
public
String
getServerInfo
()
public
Servlet
getServlet
(String s)
public
String
getServletContextName
()
public
void
removeAttribute
(String s)