Class GenericDispatchedViewPortlet

  • All Implemented Interfaces:
    javax.portlet.EventPortlet, javax.portlet.Portlet, javax.portlet.PortletConfig, javax.portlet.ResourceServingPortlet

    public class GenericDispatchedViewPortlet
    extends javax.portlet.GenericPortlet
    This is a generic and simple Portlet class that dispatches the view to a JSP/HTML file. It allows to access Portlet preferences from HTTP Request attributes too in render phase.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected void doView​(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response)  
      void init​(javax.portlet.PortletConfig config)  
      • Methods inherited from class javax.portlet.GenericPortlet

        destroy, doDispatch, doEdit, doHeaders, doHelp, getContainerRuntimeOptions, getDefaultNamespace, getInitParameter, getInitParameterNames, getNextPossiblePortletModes, getPortletConfig, getPortletContext, getPortletName, getProcessingEventQNames, getPublicRenderParameterNames, getPublishingEventQNames, getResourceBundle, getSupportedLocales, getTitle, init, processAction, processEvent, render, serveResource
    • Constructor Detail

      • GenericDispatchedViewPortlet

        public GenericDispatchedViewPortlet()
    • Method Detail

      • init

        public void init​(javax.portlet.PortletConfig config)
                  throws javax.portlet.PortletException
        Specified by:
        init in interface javax.portlet.Portlet
        Overrides:
        init in class javax.portlet.GenericPortlet
        Throws:
        javax.portlet.PortletException
      • doView

        protected void doView​(javax.portlet.RenderRequest request,
                              javax.portlet.RenderResponse response)
                       throws javax.portlet.PortletException,
                              IOException
        Overrides:
        doView in class javax.portlet.GenericPortlet
        Throws:
        javax.portlet.PortletException
        IOException