|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.portal.common.invocation.AbstractInvocationContext
org.jboss.portal.portlet.impl.spi.AbstractPortletInvocationContext
org.jboss.portal.wsrp.invocation.WSRPPortletInvocationContext
| Nested Class Summary |
| Nested classes inherited from class org.jboss.portal.common.invocation.AbstractInvocationContext |
|
| Field Summary | |
private InstanceContext |
instanceContext
|
private Mode |
mode
|
private StateString |
navigationalState
|
private PortalContext |
portalContext
|
protected RequestContext |
requestContext
|
private SecurityContext |
securityContext
|
private HTTPStreamInfo |
streamInfo
|
private UserContext |
userContext
|
private WindowContext |
windowContext
|
private WindowState |
windowState
|
| Fields inherited from class org.jboss.portal.common.invocation.AbstractInvocationContext |
|
| Constructor Summary | |
WSRPPortletInvocationContext(StateString navigationalState,
SecurityContext securityContext,
HTTPStreamInfo streamInfo,
PortalContext portalContext,
UserContext userContext,
InstanceContext instanceContext,
WindowContext windowContext,
Mode mode,
WindowState windowState)
|
|
| Method Summary | |
void |
contextualize(PortletInvocation invocation)
|
java.lang.String |
encodeURL(PortletURL portletURL,
java.lang.Boolean wantSecure,
java.lang.Boolean wantAuthenticated,
boolean relative)
URL to be re-written are of the form: wsrp_rewrite?wsrp-urlType=value&name1=value1&name2=value2
.../wsrp_rewrite |
java.lang.String |
encodeURL(java.lang.String url)
Override the default behavior in order to avoid to encode when it is producer written URL. |
javax.servlet.http.HttpServletRequest |
getClientRequest()
Return the client request. |
javax.servlet.http.HttpServletResponse |
getClientResponse()
Return the client response. |
Mode |
getMode()
Returns the mode for this invocation. |
StateString |
getNavigationalState()
Returns the navigational state for this invocation. |
HTTPStreamInfo |
getStreamInfo()
Return information about the underlying http wire this invocation is performed. |
WindowState |
getWindowState()
Returns the window state for this invocation. |
| Methods inherited from class org.jboss.portal.common.invocation.AbstractInvocationContext |
addResolver, addResolver, getAttribute, getAttributeResolver, removeAttribute, setAttribute |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.jboss.portal.common.invocation.InvocationContext |
getAttribute, getAttributeResolver, removeAttribute, setAttribute |
| Field Detail |
protected RequestContext requestContext
private StateString navigationalState
private SecurityContext securityContext
private HTTPStreamInfo streamInfo
private PortalContext portalContext
private UserContext userContext
private InstanceContext instanceContext
private WindowState windowState
private Mode mode
private WindowContext windowContext
| Constructor Detail |
public WSRPPortletInvocationContext(StateString navigationalState, SecurityContext securityContext, HTTPStreamInfo streamInfo, PortalContext portalContext, UserContext userContext, InstanceContext instanceContext, WindowContext windowContext, Mode mode, WindowState windowState)
| Method Detail |
public javax.servlet.http.HttpServletRequest getClientRequest()
AbstractPortletInvocationContext
getClientRequest in class AbstractPortletInvocationContextpublic javax.servlet.http.HttpServletResponse getClientResponse()
AbstractPortletInvocationContext
getClientResponse in class AbstractPortletInvocationContextpublic StateString getNavigationalState()
PortletInvocationContext
getNavigationalState in interface PortletInvocationContextpublic Mode getMode()
PortletInvocationContext
getMode in interface PortletInvocationContextpublic WindowState getWindowState()
PortletInvocationContext
getWindowState in interface PortletInvocationContextpublic HTTPStreamInfo getStreamInfo()
PortletInvocationContext
getStreamInfo in interface PortletInvocationContextpublic java.lang.String encodeURL(java.lang.String url)
encodeURL in interface PortletInvocationContextencodeURL in class AbstractPortletInvocationContextpublic java.lang.String encodeURL(PortletURL portletURL, java.lang.Boolean wantSecure, java.lang.Boolean wantAuthenticated, boolean relative)
URL to be re-written are of the form: wsrp_rewrite?wsrp-urlType=value&name1=value1&name2=value2
.../wsrp_rewrite
wsrp_rewrite?wsrp-urlType=resource&wsrp-url=http%3A%2F%2Ftest.com%2Fimages%2Ftest.gif&wsrp-requiresRewrite=true/wsrp_rewritewsrp_rewrite?wsrp-urlType=blockingAction&wsrp-secureURL=true&wsrp-navigationalState=a8h4K5JD9&wsrp-interactionState=fg4h923mdk/wsrp_rewritewsrp_rewrite?wsrp-urlType=render&wsrp-mode=help&wsrp-windowState=maximized/wsrp_rewrite
encodeURL in interface PortletInvocationContextportletURL - wantSecure - wantAuthenticated - relative -
public void contextualize(PortletInvocation invocation)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||