it.eng.spago.dispatching.httpchannel
Class AdapterPortlet

java.lang.Object
  extended by javax.portlet.GenericPortlet
      extended by it.eng.spago.dispatching.httpchannel.AdapterPortlet
All Implemented Interfaces:
javax.portlet.Portlet, javax.portlet.PortletConfig

public class AdapterPortlet
extends javax.portlet.GenericPortlet

The Class AdapterPortlet.


Field Summary
static java.lang.String HTTP_ACCEPT_HEADER
          The Constant HTTP_ACCEPT_HEADER.
static java.lang.String HTTP_CONTENT_TYPE
          The Constant HTTP_CONTENT_TYPE.
static java.lang.String HTTP_SESSION_ID
          The Constant HTTP_SESSION_ID.
static java.lang.String NEW_SESSION
          The Constant NEW_SESSION.
static java.lang.String WAP_CONTENT_TYPE
          The Constant WAP_CONTENT_TYPE.
static java.lang.String WAP_MIME_TYPE
          The Constant WAP_MIME_TYPE.
 
Constructor Summary
AdapterPortlet()
           
 
Method Summary
 void doEdit(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response)
           
 void doHelp(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response)
           
 void doRenderService(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response)
          Do render service.
 void doView(javax.portlet.RenderRequest request, javax.portlet.RenderResponse response)
           
 void init()
           
 void processAction(javax.portlet.ActionRequest request, javax.portlet.ActionResponse response)
           
 void processService(javax.portlet.PortletRequest request, javax.portlet.PortletResponse response)
          Process service.
 
Methods inherited from class javax.portlet.GenericPortlet
destroy, doDispatch, getInitParameter, getInitParameterNames, getPortletConfig, getPortletContext, getPortletName, getResourceBundle, getTitle, init, render
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

NEW_SESSION

public static final java.lang.String NEW_SESSION
The Constant NEW_SESSION.

See Also:
Constant Field Values

HTTP_CONTENT_TYPE

public static final java.lang.String HTTP_CONTENT_TYPE
The Constant HTTP_CONTENT_TYPE.

See Also:
Constant Field Values

WAP_CONTENT_TYPE

public static final java.lang.String WAP_CONTENT_TYPE
The Constant WAP_CONTENT_TYPE.

See Also:
Constant Field Values

HTTP_ACCEPT_HEADER

public static final java.lang.String HTTP_ACCEPT_HEADER
The Constant HTTP_ACCEPT_HEADER.

See Also:
Constant Field Values

WAP_MIME_TYPE

public static final java.lang.String WAP_MIME_TYPE
The Constant WAP_MIME_TYPE.

See Also:
Constant Field Values

HTTP_SESSION_ID

public static final java.lang.String HTTP_SESSION_ID
The Constant HTTP_SESSION_ID.

See Also:
Constant Field Values
Constructor Detail

AdapterPortlet

public AdapterPortlet()
Method Detail

init

public void init()
          throws javax.portlet.PortletException
Overrides:
init in class javax.portlet.GenericPortlet
Throws:
javax.portlet.PortletException

processAction

public void processAction(javax.portlet.ActionRequest request,
                          javax.portlet.ActionResponse response)
                   throws javax.portlet.PortletException,
                          java.io.IOException
Specified by:
processAction in interface javax.portlet.Portlet
Overrides:
processAction in class javax.portlet.GenericPortlet
Throws:
javax.portlet.PortletException
java.io.IOException

processService

public void processService(javax.portlet.PortletRequest request,
                           javax.portlet.PortletResponse response)
                    throws javax.portlet.PortletException,
                           java.io.IOException
Process service.

Parameters:
request - the request
response - the response
Throws:
javax.portlet.PortletException - the portlet exception
java.io.IOException - Signals that an I/O exception has occurred.

doView

public void doView(javax.portlet.RenderRequest request,
                   javax.portlet.RenderResponse response)
Overrides:
doView in class javax.portlet.GenericPortlet

doEdit

public void doEdit(javax.portlet.RenderRequest request,
                   javax.portlet.RenderResponse response)
Overrides:
doEdit in class javax.portlet.GenericPortlet

doHelp

public void doHelp(javax.portlet.RenderRequest request,
                   javax.portlet.RenderResponse response)
Overrides:
doHelp in class javax.portlet.GenericPortlet

doRenderService

public void doRenderService(javax.portlet.RenderRequest request,
                            javax.portlet.RenderResponse response)
Do render service.

Parameters:
request - the request
response - the response