java.lang.Object | |
↳ | org.springframework.mock.web.portlet.MockPortletRequest |
Known Direct Subclasses |
Known Indirect Subclasses |
Mock implementation of the javax.portlet.PortletRequest interface.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Create a new MockPortletRequest with a default
MockPortalContext
and a default MockPortletContext . | |||||||||||
Create a new MockPortletRequest with a default
MockPortalContext . | |||||||||||
Create a new MockPortletRequest.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Check whether this request is still active (that is, not completed yet),
throwing an IllegalStateException if not active anymore.
| |||||||||||
Return the Portlet 2.0 lifecycle id for the current phase.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Create a new MockPortletRequest with a default MockPortalContext
and a default MockPortletContext
.
Create a new MockPortletRequest with a default MockPortalContext
.
portletContext | the PortletContext that the request runs in |
---|
Create a new MockPortletRequest.
portalContext | the PortalContext that the request runs in |
---|---|
portletContext | the PortletContext that the request runs in |
Add a single value for the specified property.
If there are already one or more values registered for the given property key, the given value will be added to the end of the list.
Mark this request as completed.
Return whether this request is still active (that is, not completed yet).
Set a single value for the specified property.
If there are already one or more values registered for the given property key, they will be replaced.
Check whether this request is still active (that is, not completed yet), throwing an IllegalStateException if not active anymore.
IllegalStateException |
---|