| org.apache.jetspeed.portlet.WebContentPortlet
All known Subclasses: org.apache.jetspeed.portlet.SSOWebContentPortlet,
WebContentPortlet | public class WebContentPortlet extends GenericVelocityPortlet (Code) | | WebContentPortlet
TODO: Preferences, cache stream instead of URL *
author: Roger Ruttimann version: $Id: WebContentPortlet.java 605431 2007-12-19 05:11:40Z taylor $ |
Method Summary | |
public void | doEdit(RenderRequest request, RenderResponse response) | protected byte[] | doHttpWebContent(HttpClient httpClient, HttpMethod httpMethod, int retryCount, RenderRequest request, RenderResponse response) | protected byte[] | doPreemptiveAuthentication(HttpClient clent, HttpMethod method, RenderRequest request, RenderResponse response) | protected boolean | doRequestedAuthentication(HttpClient clent, HttpMethod method, RenderRequest request, RenderResponse response) | public void | doView(RenderRequest request, RenderResponse response) | protected byte[] | doWebContent(String sourceAttr, Map sourceParams, boolean isPost, RenderRequest request, RenderResponse response) | protected HttpClient | getHttpClient(RenderRequest request) | protected HttpMethodBase | getHttpMethod(HttpClient client, String uri, Map params, String formMethod, RenderRequest request) | protected String | getURLSource(String source, Map params, RenderRequest request, RenderResponse response) | public void | init(PortletConfig config) Initialize portlet configuration. | public void | processAction(ActionRequest actionRequest, ActionResponse actionResponse) |
BLOCK_SIZE | final static int BLOCK_SIZE(Code) | | |
BROWSER_ACTION_NEXT_PAGE | final public static String BROWSER_ACTION_NEXT_PAGE(Code) | | |
BROWSER_ACTION_PARAM | final public static String BROWSER_ACTION_PARAM(Code) | | |
BROWSER_ACTION_PREVIOUS_PAGE | final public static String BROWSER_ACTION_PREVIOUS_PAGE(Code) | | |
BROWSER_ACTION_REFRESH_PAGE | final public static String BROWSER_ACTION_REFRESH_PAGE(Code) | | |
EDIT_SOURCE_PARAM | final public static String EDIT_SOURCE_PARAM(Code) | | |
FORM_GET_METHOD | final public static String FORM_GET_METHOD(Code) | | |
FORM_MULTIPART_METHOD | final public static String FORM_MULTIPART_METHOD(Code) | | |
FORM_POST_METHOD | final public static String FORM_POST_METHOD(Code) | | |
HISTORY | final public static String HISTORY(Code) | | Action Parameter
|
VIEW_SOURCE_PARAM | final public static String VIEW_SOURCE_PARAM(Code) | | Configuration constants.
|
defaultEncoding | final public static String defaultEncoding(Code) | | |
log | final protected static Log log(Code) | | |
WebContentPortlet | public WebContentPortlet()(Code) | | |
doEdit | public void doEdit(RenderRequest request, RenderResponse response) throws PortletException, IOException(Code) | | |
doHttpWebContent | protected byte[] doHttpWebContent(HttpClient httpClient, HttpMethod httpMethod, int retryCount, RenderRequest request, RenderResponse response) throws PortletException(Code) | | |
doPreemptiveAuthentication | protected byte[] doPreemptiveAuthentication(HttpClient clent, HttpMethod method, RenderRequest request, RenderResponse response)(Code) | | |
doRequestedAuthentication | protected boolean doRequestedAuthentication(HttpClient clent, HttpMethod method, RenderRequest request, RenderResponse response)(Code) | | |
doView | public void doView(RenderRequest request, RenderResponse response) throws PortletException, IOException(Code) | | doView Renders the URL in the following order 1) SESSION_PARAMETER
2)cached version 3) defined for preference SRC
|
doWebContent | protected byte[] doWebContent(String sourceAttr, Map sourceParams, boolean isPost, RenderRequest request, RenderResponse response) throws PortletException(Code) | | |
getHttpClient | protected HttpClient getHttpClient(RenderRequest request) throws IOException(Code) | | |
getHttpMethod | protected HttpMethodBase getHttpMethod(HttpClient client, String uri, Map params, String formMethod, RenderRequest request) throws IOException(Code) | | |
getURLSource | protected String getURLSource(String source, Map params, RenderRequest request, RenderResponse response)(Code) | | |
init | public void init(PortletConfig config) throws PortletException(Code) | | Initialize portlet configuration.
|
processAction | public void processAction(ActionRequest actionRequest, ActionResponse actionResponse) throws PortletException, IOException(Code) | | processAction() Checks action initiated by the WebContent portlet which
means that a user has clicked on an URL
Parameters: actionRequest - Parameters: actionResponse - throws: PortletException - throws: IOException - |
|
|