|
||||||||||
| 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.server.impl.ServerInvocationContextImpl
| Nested Class Summary |
| Nested classes inherited from class org.jboss.portal.common.invocation.AbstractInvocationContext |
|
| Field Summary | |
private java.util.Map |
bodyParameterMap
The body parameter map or null. |
private java.lang.String |
mediaType
. |
private java.lang.String |
portalContextPath
The portal context path. |
private java.lang.String |
portalRequestPath
The portal request path. |
private java.util.Map |
queryParameterMap
The query parameter map. |
private javax.servlet.http.HttpServletRequest |
req
The client request. |
private javax.servlet.http.HttpServletResponse |
resp
The client response. |
private URLContext |
urlContext
The url context. |
| Fields inherited from class org.jboss.portal.common.invocation.AbstractInvocationContext |
|
| Constructor Summary | |
ServerInvocationContextImpl(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
java.lang.String portalRequestPath,
java.lang.String portalContextPath,
java.util.Map queryParameterMap,
java.util.Map bodyParameterMap,
URLContext urlContext,
java.lang.String mediaType)
|
|
| Method Summary | |
java.lang.String |
encodeURL(ServerURL url,
URLContext context,
URLFormat format)
|
java.util.Map |
getBodyParameterMap()
Return the parameter map for the body if the request was a POST with the content type x-www-formurlencoded otherwise return null. |
javax.servlet.http.HttpServletRequest |
getClientRequest()
Return the request that made the connection to the server. |
javax.servlet.http.HttpServletResponse |
getClientResponse()
The original servlet response. |
java.lang.String |
getMediaType()
Return the normalized media type of the request or null if none has been provided by the client. |
java.lang.String |
getPortalContextPath()
Return the value of the portal context path for this request. |
java.lang.String |
getPortalRequestPath()
Return the value of the portal request path for this request. |
java.util.Map |
getQueryParameterMap()
Return the parameter map decoded form the query string. |
URLContext |
getURLContext()
Return the url context of this request. |
| 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 |
private final javax.servlet.http.HttpServletRequest req
private final javax.servlet.http.HttpServletResponse resp
private java.lang.String portalContextPath
private java.lang.String portalRequestPath
private java.lang.String mediaType
private java.util.Map queryParameterMap
private java.util.Map bodyParameterMap
private URLContext urlContext
| Constructor Detail |
public ServerInvocationContextImpl(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
java.lang.String portalRequestPath,
java.lang.String portalContextPath,
java.util.Map queryParameterMap,
java.util.Map bodyParameterMap,
URLContext urlContext,
java.lang.String mediaType)
| Method Detail |
public javax.servlet.http.HttpServletRequest getClientRequest()
ServerInvocationContext
getClientRequest in interface ServerInvocationContextpublic javax.servlet.http.HttpServletResponse getClientResponse()
ServerInvocationContext
getClientResponse in interface ServerInvocationContextpublic java.lang.String getMediaType()
ServerInvocationContext
getMediaType in interface ServerInvocationContextpublic URLContext getURLContext()
ServerInvocationContext
getURLContext in interface ServerInvocationContextpublic java.util.Map getQueryParameterMap()
ServerInvocationContext
getQueryParameterMap in interface ServerInvocationContextpublic java.util.Map getBodyParameterMap()
ServerInvocationContext
getBodyParameterMap in interface ServerInvocationContextpublic java.lang.String getPortalRequestPath()
ServerInvocationContext
getPortalRequestPath in interface ServerInvocationContextpublic java.lang.String getPortalContextPath()
ServerInvocationContext
getPortalContextPath in interface ServerInvocationContextpublic java.lang.String encodeURL(ServerURL url, URLContext context, URLFormat format)
encodeURL in interface ServerInvocationContexturl - context - format -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||