public class GenericReverseProxyPortlet
extends org.apache.portals.bridges.velocity.GenericVelocityPortlet
ReverseProxyService
injected.Modifier and Type | Field and Description |
---|---|
static String |
REMOTE_URI_PARAM_NAME
Name of the portlet request parameter pointing at the target remote URI.
|
PORTLET_BRIDGE_CONTEXT
allowPreferences, defaultActionPage, defaultCustomPage, defaultEditPage, defaultHelpPage, defaultViewPage, PARAM_ACTION_PAGE, PARAM_ALLOW_PREFERENCES, PARAM_CUSTOM_PAGE, PARAM_EDIT_PAGE, PARAM_HELP_PAGE, PARAM_MAX_PAGE, PARAM_VIEW_PAGE
Constructor and Description |
---|
GenericReverseProxyPortlet()
Zero-argument default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
doView(javax.portlet.RenderRequest request,
javax.portlet.RenderResponse response) |
ReverseProxyService |
getProxyService()
Returns the internal
ReverseProxyService instance. |
protected void |
invokeProxyService(javax.portlet.PortletRequest request,
javax.portlet.PortletResponse response)
Invokes the internal
ReverseProxyService on portlet requests. |
void |
processAction(javax.portlet.ActionRequest request,
javax.portlet.ActionResponse response) |
void |
serveResource(javax.portlet.ResourceRequest request,
javax.portlet.ResourceResponse response) |
void |
setProxyService(ReverseProxyService proxyService)
Sets the internal
ReverseProxyService instance. |
doCustom, doEdit, doHelp, doPreferencesEdit, getContext, getContext, init, render, setupPreferencesEdit
getDefaultActionPage, getDefaultCustomPage, getDefaultEditPage, getDefaultHelpPage, getDefaultViewPage, processPreferencesAction, setDefaultActionPage, setDefaultCustomPage, setDefaultEditPage, setDefaultHelpPage, setDefaultViewPage
destroy, doDispatch, doHeaders, getContainerRuntimeOptions, getDefaultNamespace, getInitParameter, getInitParameterNames, getNextPossiblePortletModes, getPortletConfig, getPortletContext, getPortletName, getProcessingEventQNames, getPublicRenderParameterNames, getPublishingEventQNames, getResourceBundle, getSupportedLocales, getTitle, init, processEvent
public static final String REMOTE_URI_PARAM_NAME
public GenericReverseProxyPortlet()
public ReverseProxyService getProxyService()
ReverseProxyService
instance.public void setProxyService(ReverseProxyService proxyService)
ReverseProxyService
instance.proxyService
- public void doView(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response) throws javax.portlet.PortletException, IOException
doView
in class org.apache.portals.bridges.velocity.GenericVelocityPortlet
javax.portlet.PortletException
IOException
public void serveResource(javax.portlet.ResourceRequest request, javax.portlet.ResourceResponse response) throws javax.portlet.PortletException, IOException
serveResource
in interface javax.portlet.ResourceServingPortlet
serveResource
in class javax.portlet.GenericPortlet
javax.portlet.PortletException
IOException
public void processAction(javax.portlet.ActionRequest request, javax.portlet.ActionResponse response) throws javax.portlet.PortletException, IOException
processAction
in interface javax.portlet.Portlet
processAction
in class org.apache.portals.bridges.velocity.GenericVelocityPortlet
javax.portlet.PortletException
IOException
protected void invokeProxyService(javax.portlet.PortletRequest request, javax.portlet.PortletResponse response) throws javax.portlet.PortletException, IOException
ReverseProxyService
on portlet requests.javax.portlet.PortletException
IOException
Copyright © 2008–2015 The Apache Software Foundation. All rights reserved.