|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mockrunner.mock.web.MockServletContext
org.apache.jetspeed.mocks.BaseMockServletContext
public abstract class BaseMockServletContext
| Field Summary | |
|---|---|
private Map |
attributes
|
| Constructor Summary | |
|---|---|
BaseMockServletContext()
|
|
| Method Summary | |
|---|---|
Object |
getAttribute(String arg0)
|
void |
removeAttribute(String arg0)
|
void |
setAttribute(String arg0,
Object arg1)
|
protected void |
unsupported()
|
| Methods inherited from class com.mockrunner.mock.web.MockServletContext |
|---|
addAttributeListener, addResourcePath, addResourcePaths, clearAttributes, clearInitParameters, clearRequestDispatcherMap, getAttributeNames, getContext, getInitParameter, getInitParameterNames, getMajorVersion, getMimeType, getMinorVersion, getNamedDispatcher, getRealPath, getRequestDispatcher, getRequestDispatcherMap, getResource, getResourceAsStream, getResourcePaths, getServerInfo, getServlet, getServletContextName, getServletNames, getServlets, log, log, log, resetAll, setContext, setInitParameter, setInitParameters, setMimeType, setRealPath, setRequestDispatcher, setResource, setResourceAsStream, setResourceAsStream, setServletContextName |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.servlet.ServletContext |
|---|
getAttributeNames, getContext, getInitParameter, getInitParameterNames, getMajorVersion, getMimeType, getMinorVersion, getNamedDispatcher, getRealPath, getRequestDispatcher, getResource, getResourceAsStream, getResourcePaths, getServerInfo, getServlet, getServletContextName, getServletNames, getServlets, log, log, log |
| Field Detail |
|---|
private final Map attributes
| Constructor Detail |
|---|
public BaseMockServletContext()
| Method Detail |
|---|
public Object getAttribute(String arg0)
getAttribute in interface javax.servlet.ServletContextgetAttribute in class com.mockrunner.mock.web.MockServletContextpublic void removeAttribute(String arg0)
removeAttribute in interface javax.servlet.ServletContextremoveAttribute in class com.mockrunner.mock.web.MockServletContext
public void setAttribute(String arg0,
Object arg1)
setAttribute in interface javax.servlet.ServletContextsetAttribute in class com.mockrunner.mock.web.MockServletContext
protected final void unsupported()
throws UnsupportedOperationException
UnsupportedOperationException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||