java.lang.Object | |
↳ | org.springframework.mock.web.portlet.MockPortletContext |
Mock implementation of the javax.portlet.PortletContext interface.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a new MockPortletContext with no base path and a
DefaultResourceLoader (i.e.
| |||||||||||
Create a new MockPortletContext using a DefaultResourceLoader.
| |||||||||||
Create a new MockPortletContext, using the specified ResourceLoader
and no base path.
| |||||||||||
Create a new MockPortletContext.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Build a full resource location for the given path,
prepending the resource base path of this MockPortletContext.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Create a new MockPortletContext with no base path and a DefaultResourceLoader (i.e. the classpath root as WAR root).
Create a new MockPortletContext using a DefaultResourceLoader.
resourceBasePath | the WAR root directory (should not end with a slash) |
---|
Create a new MockPortletContext, using the specified ResourceLoader and no base path.
resourceLoader | the ResourceLoader to use (or null for the default) |
---|
Create a new MockPortletContext.
resourceBasePath | the WAR root directory (should not end with a slash) |
---|---|
resourceLoader | the ResourceLoader to use (or null for the default) |
Build a full resource location for the given path, prepending the resource base path of this MockPortletContext.
path | the path as specified |
---|