|
The Spring Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.springframework.mock.web.portlet.MockPortletResponse
public class MockPortletResponse
Mock implementation of the PortletResponse
interface.
Constructor Summary | |
---|---|
MockPortletResponse()
Create a new MockPortletResponse with a default MockPortalContext . |
|
MockPortletResponse(PortalContext portalContext)
Create a new MockPortletResponse. |
Method Summary | |
---|---|
void |
addProperty(String key,
String value)
|
String |
encodeURL(String path)
|
PortalContext |
getPortalContext()
Return the PortalContext that this MockPortletResponse runs in, defining the supported PortletModes and WindowStates. |
String[] |
getProperties(String key)
|
String |
getProperty(String key)
|
Set |
getPropertyNames()
|
void |
setProperty(String key,
String value)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MockPortletResponse()
MockPortalContext
.
MockPortalContext
public MockPortletResponse(PortalContext portalContext)
portalContext
- the PortalContext defining the supported
PortletModes and WindowStatesMethod Detail |
---|
public PortalContext getPortalContext()
public void addProperty(String key, String value)
addProperty
in interface PortletResponse
public void setProperty(String key, String value)
setProperty
in interface PortletResponse
public Set getPropertyNames()
public String getProperty(String key)
public String[] getProperties(String key)
public String encodeURL(String path)
encodeURL
in interface PortletResponse
|
The Spring Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |