|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.portal.portlet.impl.spi.AbstractInvocationContext org.jboss.portal.wsrp.invocation.WSRPInvocationContext
Nested Class Summary |
Nested classes inherited from class org.jboss.portal.portlet.spi.InvocationContext |
InvocationContext.Scope |
Field Summary | |
protected RequestContext |
requestContext
|
Fields inherited from interface org.jboss.portal.portlet.spi.InvocationContext |
INVOCATION_SCOPE, PRINCIPAL_SCOPE, SESSION_SCOPE |
Constructor Summary | |
WSRPInvocationContext(java.lang.String sessionId,
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.portlet.impl.spi.AbstractInvocationContext |
getAttribute, 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.portlet.spi.InvocationContext |
getAttribute, setAttribute |
Field Detail |
protected RequestContext requestContext
Constructor Detail |
public WSRPInvocationContext(java.lang.String sessionId, 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()
AbstractInvocationContext
getClientRequest
in class AbstractInvocationContext
public javax.servlet.http.HttpServletResponse getClientResponse()
AbstractInvocationContext
getClientResponse
in class AbstractInvocationContext
public StateString getNavigationalState()
InvocationContext
getNavigationalState
in interface InvocationContext
public Mode getMode()
InvocationContext
getMode
in interface InvocationContext
public WindowState getWindowState()
InvocationContext
getWindowState
in interface InvocationContext
public HTTPStreamInfo getStreamInfo()
InvocationContext
getStreamInfo
in interface InvocationContext
public java.lang.String encodeURL(java.lang.String url)
encodeURL
in interface InvocationContext
encodeURL
in class AbstractInvocationContext
public 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_rewrite
wsrp_rewrite?wsrp-urlType=blockingAction&wsrp-secureURL=true&wsrp-navigationalState=a8h4K5JD9&wsrp-interactionState=fg4h923mdk/wsrp_rewrite
wsrp_rewrite?wsrp-urlType=render&wsrp-mode=help&wsrp-windowState=maximized/wsrp_rewrite
encodeURL
in interface InvocationContext
portletURL
- wantSecure
- wantAuthenticated
- relative
-
public void contextualize(PortletInvocation invocation)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |