| java.lang.Object org.jboss.portal.wsrp.WSRPPortletURL
All known Subclasses: org.jboss.portal.wsrp.WSRPRenderURL, org.jboss.portal.wsrp.WSRPActionURL, org.jboss.portal.wsrp.WSRPResourceURL,
WSRPPortletURL | abstract public class WSRPPortletURL implements PortletURL(Code) | | author: Chris Laprun version: $Revision: 8784 $ since: 2.4 (Apr 28, 2006) |
WSRPPortletURL | protected WSRPPortletURL(Mode mode, WindowState windowState, boolean secure)(Code) | | |
WSRPPortletURL | protected WSRPPortletURL(Map params)(Code) | | |
WSRPPortletURL | protected WSRPPortletURL()(Code) | | |
create | public static WSRPPortletURL create(String encodedURL)(Code) | | Parses a WSRP rewritten URL and extracts each component. TODO: some values need to be in pairs or are
mutually exclusive, check for this URL are of the form: wsrp_rewrite?wsrp-urlType=value&name1=value1&name2=value2
.../wsrp_rewrite Examples: - Load a resource http://test.com/images/test.gif:
wsrp_rewrite?wsrp-urlType=resource&wsrp-url=http%3A%2F%2Ftest.com%2Fimages%2Ftest.gif&wsrp-requiresRewrite=true/wsrp_rewrite
- Declare a secure interaction back to the Portlet:
wsrp_rewrite?wsrp-urlType=blockingAction&wsrp-secureURL=true&wsrp-navigationalState=a8h4K5JD9&wsrp-interactionState=fg4h923mdk/wsrp_rewrite
- Request the Consumer render the Portlet in a different mode and window state:
wsrp_rewrite?wsrp-urlType=render&wsrp-mode=help&wsrp-windowState=maximized/wsrp_rewrite
Parameters: encodedURL - |
getMode | public Mode getMode()(Code) | | |
getWindowState | public WindowState getWindowState()(Code) | | |
isSecure | public boolean isSecure()(Code) | | |
setParams | protected void setParams(Map params)(Code) | | |
|
|