| Package | Description | 
|---|---|
| javax.portlet | The javax.portlet package defines the API for Java Portlet Specification V2.0. | 
| javax.portlet.filter | The javax.portlet.filter package defines the filter APIs for the Java Portlet Specification. | 
| Modifier and Type | Method and Description | 
|---|---|
| protected void | GenericPortlet. doDispatch(RenderRequest request,
          RenderResponse response)The default implementation of this method routes the render request to:
 
 
 method annotated with  @RenderModeand the name of the portlet mode
 
 
 a set of helper methods depending on the current portlet mode the portlet
 is currently in. | 
| protected void | GenericPortlet. doEdit(RenderRequest request,
      RenderResponse response)Helper method to serve up the  editmode. | 
| protected void | GenericPortlet. doHeaders(RenderRequest request,
         RenderResponse response)Used by the render method to set the response properties and headers. | 
| protected void | GenericPortlet. doHelp(RenderRequest request,
      RenderResponse response)Helper method to serve up the  helpmode. | 
| protected void | GenericPortlet. doView(RenderRequest request,
      RenderResponse response)Helper method to serve up the mandatory  viewmode. | 
| void | PortletRequestDispatcher. include(RenderRequest request,
       RenderResponse response)Includes the content of a resource (servlet, JSP page, HTML file) in the
 response. | 
| void | Portlet. render(RenderRequest request,
      RenderResponse response)Called by the portlet container to allow the portlet to generate
 the content of the response based on its current state. | 
| void | GenericPortlet. render(RenderRequest request,
      RenderResponse response)The default implementation of this method sets the headers using the
  doHeadersmethod, sets the title using thegetTitlemethod and invokes thedoDispatchmethod. | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | RenderResponseWrapperThe  RenderResponseWrapperprovides a convenient 
 implementation of theRenderResponseinterface 
 that can be subclassed by developers wishing to adapt the response. | 
| Modifier and Type | Method and Description | 
|---|---|
| RenderResponse | RenderResponseWrapper. getResponse()Return the wrapped response object. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | FilterChain. doFilter(RenderRequest request,
        RenderResponse response)Causes the next filter in the chain to be invoked, 
 or if the calling filter is the last filter in the chain, 
 causes the portlet at the end of the chain to be invoked. | 
| void | RenderFilter. doFilter(RenderRequest request,
        RenderResponse response,
        FilterChain chain)The  doFiltermethod of the Filter is called by the 
 portlet container each time a render request/response pair is passed 
 through the chain due to a client request for a portlet method 
 at the end of the chain. | 
| void | RenderResponseWrapper. setResponse(RenderResponse response)Sets the response object being wrapped. | 
| Constructor and Description | 
|---|
| RenderResponseWrapper(RenderResponse response)Creates an  RenderResponseadaptor 
 wrapping the given response object. | 
Copyright © 2004–2015 The Apache Software Foundation. All rights reserved.