|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A PortletInterceptor
is an object that is called prior and
after Portlet#service()
is called
Field Summary | |
static int |
CONTINUE
|
static int |
SKIP
|
Method Summary | |
void |
afterActionPerformed(net.sf.jportlet.portlet.application.PortletProxy proxy,
net.sf.jportlet.portlet.event.ActionEvent event)
This method is called after the ActionListener#actionPerformed(net.sf.jportlet.portlet.event.ActionEvent) |
void |
afterService(net.sf.jportlet.portlet.application.PortletProxy proxy,
net.sf.jportlet.portlet.PortletRequest request,
net.sf.jportlet.portlet.PortletResponse response)
This method is called after Portlet#service(net.sf.jportlet.portlet.PortletRequest, net.sf.jportlet.portlet.PortletResponse) |
int |
beforeActionPerformed(net.sf.jportlet.portlet.application.PortletProxy proxy,
net.sf.jportlet.portlet.event.ActionEvent event)
This method is called before the ActionListener#actionPerformed(net.sf.jportlet.portlet.event.ActionEvent) of a portlet is
invoed |
int |
beforeService(net.sf.jportlet.portlet.application.PortletProxy proxy,
net.sf.jportlet.portlet.PortletRequest request,
net.sf.jportlet.portlet.PortletResponse response)
This method is called before Portlet#service |
Field Detail |
public static final int CONTINUE
public static final int SKIP
Method Detail |
public void afterActionPerformed(net.sf.jportlet.portlet.application.PortletProxy proxy, net.sf.jportlet.portlet.event.ActionEvent event) throws PortletException
ActionListener#actionPerformed(net.sf.jportlet.portlet.event.ActionEvent)
proxy
- Portlet proxyevent
- Action event to perform
PortletException
- if any error occurs
java.io.IOException
- if any IO error occurspublic void afterService(net.sf.jportlet.portlet.application.PortletProxy proxy, net.sf.jportlet.portlet.PortletRequest request, net.sf.jportlet.portlet.PortletResponse response) throws PortletException, java.io.IOException
Portlet#service(net.sf.jportlet.portlet.PortletRequest, net.sf.jportlet.portlet.PortletResponse)
proxy
- portlet proxyrequest
- portlet requestresponse
- portlet response
CONTINUE
or SKIP
PortletException
java.io.IOException
public int beforeActionPerformed(net.sf.jportlet.portlet.application.PortletProxy proxy, net.sf.jportlet.portlet.event.ActionEvent event) throws PortletException
ActionListener#actionPerformed(net.sf.jportlet.portlet.event.ActionEvent)
of a portlet is
invoed
proxy
- Portlet proxyevent
- Action event to perform
CONTINUE
or SKIP
PortletException
- if any error occurs
java.io.IOException
- if any IO error occurspublic int beforeService(net.sf.jportlet.portlet.application.PortletProxy proxy, net.sf.jportlet.portlet.PortletRequest request, net.sf.jportlet.portlet.PortletResponse response) throws PortletException, java.io.IOException
Portlet#service
proxy
- portlet proxyrequest
- portlet requestresponse
- portlet response
PortletException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |