| java.lang.Object org.springframework.mock.web.MockServletContext
MockServletContext | public MockServletContext(ResourceLoader resourceLoader)(Code) | | Create a new MockServletContext, using the specified ResourceLoader
and no base path.
Parameters: resourceLoader - the ResourceLoader to use (or null for the default) |
MockServletContext | public MockServletContext(String resourceBasePath, ResourceLoader resourceLoader)(Code) | | Create a new MockServletContext.
Parameters: resourceBasePath - the WAR root directory (should not end with a slash) Parameters: resourceLoader - the ResourceLoader to use (or null for the default) |
getMajorVersion | public int getMajorVersion()(Code) | | |
getMinorVersion | public int getMinorVersion()(Code) | | |
getResourceLocation | protected String getResourceLocation(String path)(Code) | | Build a full resource location for the given path,
prepending the resource base path of this MockServletContext.
Parameters: path - the path as specified the full resource path |
getServletContextName | public String getServletContextName()(Code) | | |
removeAttribute | public void removeAttribute(String name)(Code) | | |
setServletContextName | public void setServletContextName(String servletContextName)(Code) | | |
|
|