|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.portlet.GenericPortlet
org.jboss.portal.core.samples.basic.EncodingPortlet
public class EncodingPortlet
Constructor Summary | |
---|---|
EncodingPortlet()
|
Method Summary | |
---|---|
protected void |
doView(RenderRequest req,
RenderResponse resp)
Helper method to serve up the mandatory view mode. |
void |
processAction(ActionRequest req,
ActionResponse resp)
Called by the portlet container to allow the portlet to process an action request. |
Methods inherited from class javax.portlet.GenericPortlet |
---|
destroy, doDispatch, doEdit, doHelp, getInitParameter, getInitParameterNames, getPortletConfig, getPortletContext, getPortletName, getResourceBundle, getTitle, init, init, render |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EncodingPortlet()
Method Detail |
---|
public void processAction(ActionRequest req, ActionResponse resp) throws PortletException, PortletSecurityException, 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 problemprotected void doView(RenderRequest req, RenderResponse resp) throws PortletException, PortletSecurityException, java.io.IOException
GenericPortlet
view
mode.
The default implementation throws an exception.
doView
in class GenericPortlet
req
- the portlet 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 |