|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.portlet.GenericPortlet
org.jboss.portal.test.portlet.TestExceptionDuringActionPortlet
public class TestExceptionDuringActionPortlet
Constructor Summary | |
---|---|
TestExceptionDuringActionPortlet()
|
Method Summary | |
---|---|
void |
processAction(ActionRequest req,
ActionResponse resp)
Called by the portlet container to allow the portlet to process an action request. |
void |
render(RenderRequest req,
RenderResponse resp)
The default implementation of this method sets the title using the getTitle method and invokes the
doDispatch method. |
Methods inherited from class javax.portlet.GenericPortlet |
---|
destroy, doDispatch, doEdit, doHelp, doView, getInitParameter, getInitParameterNames, getPortletConfig, getPortletContext, getPortletName, getResourceBundle, getTitle, init, init |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TestExceptionDuringActionPortlet()
Method Detail |
---|
public void processAction(ActionRequest req, ActionResponse resp) throws PortletException, java.io.IOException
GenericPortlet
RenderResponse.createActionURL()
method.
The default implementation throws an exception.
processAction
in interface Portlet
processAction
in class GenericPortlet
req
- the action requestresp
- the action response
PortletException
- if the portlet cannot fulfilling the request
UnavailableException
- if the portlet is unavailable to process the action at this time
PortletSecurityException
- if the portlet cannot fullfill this request because of security reasons
java.io.IOException
- if the streaming causes an I/O problempublic void render(RenderRequest req, RenderResponse resp) throws PortletException, java.io.IOException
GenericPortlet
getTitle
method and invokes the
doDispatch
method.
render
in interface Portlet
render
in class GenericPortlet
req
- the render requestresp
- the render response
PortletException
- if the portlet cannot fulfilling the request
UnavailableException
- if the portlet is unavailable to perform render at this time
PortletSecurityException
- if the portlet cannot fullfill this request because of security reasons
java.io.IOException
- if the streaming causes an I/O problem
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |