|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.pluto.core.DefaultPortletInvokerService
public class DefaultPortletInvokerService
Used internally to invoke/dispatch requests from the container to the portlet application.
Constructor Summary | |
---|---|
DefaultPortletInvokerService()
Default Constructor. |
Method Summary | |
---|---|
void |
action(ActionRequest request,
ActionResponse response,
InternalPortletWindow window)
Invoke the portlet with an action request. |
void |
admin(PortletRequest request,
PortletResponse response,
InternalPortletWindow window)
|
void |
event(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
InternalPortletWindow window)
Invoke the portlet with a render request. |
protected void |
invoke(PortletRequest request,
PortletResponse response,
InternalPortletWindow portletWindow,
Integer methodID)
Perform the invocation. |
void |
load(PortletRequest request,
PortletResponse response,
InternalPortletWindow window)
Invoke the portlet with a load request. |
void |
render(RenderRequest request,
RenderResponse response,
InternalPortletWindow window)
Invoke the portlet with a render request. |
void |
serveResource(ResourceRequest request,
ResourceResponse response,
InternalPortletWindow window)
Invoke the portlet with a resource request. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultPortletInvokerService()
InternalPortletWindow
.
Method Detail |
---|
public void action(ActionRequest request, ActionResponse response, InternalPortletWindow window) throws IOException, PortletException
action
in interface PortletInvokerService
request
- action request used for the invocation.response
- action response used for the invocation.
IOException
PortletException
PortletServlet
,
Portlet.processAction(javax.portlet.ActionRequest,javax.portlet.ActionResponse)
public void render(RenderRequest request, RenderResponse response, InternalPortletWindow window) throws IOException, PortletException
render
in interface PortletInvokerService
request
- action request used for the invocation.response
- action response used for the invocation.
IOException
PortletException
PortletServlet
,
Portlet.render(javax.portlet.RenderRequest,javax.portlet.RenderResponse)
public void event(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, InternalPortletWindow window) throws IOException, PortletException
event
in interface PortletInvokerService
request
- action request used for the invocation.response
- action response used for the invocation.
IOException
PortletException
PortletServlet
,
Portlet.render(javax.portlet.RenderRequest,javax.portlet.RenderResponse)
public void serveResource(ResourceRequest request, ResourceResponse response, InternalPortletWindow window) throws IOException, PortletException
serveResource
in interface PortletInvokerService
request
- resource request used for the invocation.response
- resource response used for the invocation.
IOException
PortletException
PortletServlet
,
javax.portlet.Portlet#resource(javax.portlet.ResourceRequest,javax.portlet.ResourceResponse)
public void load(PortletRequest request, PortletResponse response, InternalPortletWindow window) throws IOException, PortletException
load
in interface PortletInvokerService
request
- action request used for the invocation.response
- action response used for the invocation.
IOException
PortletException
PortletServlet
public void admin(PortletRequest request, PortletResponse response, InternalPortletWindow window) throws IOException, PortletException
admin
in interface PortletInvokerService
IOException
PortletException
protected final void invoke(PortletRequest request, PortletResponse response, InternalPortletWindow portletWindow, Integer methodID) throws PortletException, IOException
request
- portlet requestresponse
- portlet responseportletWindow
- internal portlet windowmethodID
- method identifier
PortletException
- if a portlet exception occurs.
IOException
- if an error occurs writing to the response.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |