|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface InvocationContext
The invocation context of the current request.
| Method Summary | ||
|---|---|---|
javax.portlet.ActionRequest |
getActionRequest()
Return the current action request if this is an action request. |
|
javax.portlet.ActionResponse |
getActionResponse()
Return the current action response if this is an action request. |
|
javax.portlet.PortletRequest |
getPortletRequest()
Return the current portlet request. |
|
javax.portlet.PortletResponse |
getPortletResponse()
Return the current portlet response. |
|
javax.portlet.RenderRequest |
getRenderRequest()
Return the current render request if this is a render request. |
|
javax.portlet.RenderResponse |
getRenderResponse()
Return the current render response if this is a render request. |
|
javax.portlet.ResourceRequest |
getResourceRequest()
Return the current resource request if this is a resource request. |
|
javax.portlet.ResourceResponse |
getResourceResponse()
Return the current resource response if this is a resource request. |
|
|
getService(Class<ServiceType> serviceType)
Lookup a single service |
|
|
getServices(Class<ServiceType> serviceType,
String filter)
Lookup one or several services |
|
UserState |
getUserState()
Get the current user state. |
|
boolean |
isActionRequest()
Is this an action request? |
|
boolean |
isRenderRequest()
Is this a render request? |
|
boolean |
isResourceRequest()
Is this a resource request? |
|
| Method Detail |
|---|
UserState getUserState()
javax.portlet.PortletRequest getPortletRequest()
javax.portlet.PortletResponse getPortletResponse()
boolean isActionRequest()
true if the current request is an action request.javax.portlet.ActionRequest getActionRequest()
nulljavax.portlet.ActionResponse getActionResponse()
nullboolean isRenderRequest()
true if the current request is a render request.javax.portlet.RenderRequest getRenderRequest()
nulljavax.portlet.RenderResponse getRenderResponse()
nullboolean isResourceRequest()
true if the current request is a resource request.javax.portlet.ResourceRequest getResourceRequest()
nulljavax.portlet.ResourceResponse getResourceResponse()
null<ServiceType> ServiceType getService(Class<ServiceType> serviceType)
serviceType - The type (interface) of the service.
<ServiceType> ServiceType[] getServices(Class<ServiceType> serviceType,
String filter)
serviceType - The type (interface) of the service.filter - An optional filter (LDAP-like, see OSGi spec)
IllegalArgumentException - If the filter
string is not a valid OSGi service filter string.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||