|
|||||||||
| 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
public class ServerInvocationContextImpl
| Nested Class Summary | |
|---|---|
class |
ServerInvocationContextImpl.Buffer
|
| Constructor Summary | |
|---|---|
ServerInvocationContextImpl(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
java.lang.String portalHost,
java.lang.String portalRequestPath,
java.lang.String portalContextPath,
java.util.Map queryParameterMap,
java.util.Map bodyParameterMap,
URLContext urlContext,
java.lang.String mediaType)
|
|
| Method Summary | |
|---|---|
ParameterMap |
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()
Return the response that will be used by the server. |
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 |
getPortalHost()
Return the portal host value for this request. |
java.lang.String |
getPortalRequestPath()
Return the value of the portal request path for this request. |
ParameterMap |
getQueryParameterMap()
Return the parameter map decoded form the query string. |
URLContext |
getURLContext()
Return the url context of this request. |
java.lang.String |
renderURL(ServerURL url,
URLContext context,
URLFormat format)
Renders an URL. |
| 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 |
| Constructor Detail |
|---|
public ServerInvocationContextImpl(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp,
java.lang.String portalHost,
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 ParameterMap getQueryParameterMap()
ServerInvocationContext
getQueryParameterMap in interface ServerInvocationContextpublic ParameterMap 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 getPortalHost()
ServerInvocationContext
getPortalHost in interface ServerInvocationContext
public java.lang.String renderURL(ServerURL url,
URLContext context,
URLFormat format)
ServerInvocationContext
renderURL in interface ServerInvocationContexturl - the url structurecontext - the url contextformat - the url format
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||