|
|||||||||
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,
WebRequest webReq,
java.lang.String portalHost,
java.lang.String portalRequestPath,
java.lang.String portalContextPath,
URLContext urlContext)
|
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. |
WebRequest |
getWebRequest()
|
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, WebRequest webReq, java.lang.String portalHost, java.lang.String portalRequestPath, java.lang.String portalContextPath, URLContext urlContext)
Method Detail |
---|
public WebRequest getWebRequest()
public javax.servlet.http.HttpServletRequest getClientRequest()
ServerInvocationContext
getClientRequest
in interface ServerInvocationContext
public javax.servlet.http.HttpServletResponse getClientResponse()
ServerInvocationContext
getClientResponse
in interface ServerInvocationContext
public java.lang.String getMediaType()
ServerInvocationContext
getMediaType
in interface ServerInvocationContext
public URLContext getURLContext()
ServerInvocationContext
getURLContext
in interface ServerInvocationContext
public ParameterMap getQueryParameterMap()
ServerInvocationContext
getQueryParameterMap
in interface ServerInvocationContext
public ParameterMap getBodyParameterMap()
ServerInvocationContext
getBodyParameterMap
in interface ServerInvocationContext
public java.lang.String getPortalRequestPath()
ServerInvocationContext
getPortalRequestPath
in interface ServerInvocationContext
public java.lang.String getPortalContextPath()
ServerInvocationContext
getPortalContextPath
in interface ServerInvocationContext
public java.lang.String getPortalHost()
ServerInvocationContext
getPortalHost
in interface ServerInvocationContext
public java.lang.String renderURL(ServerURL url, URLContext context, URLFormat format)
ServerInvocationContext
renderURL
in interface ServerInvocationContext
url
- 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 |