站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.4 API 英文版文档

PortalServlet.ServerRequestContextImpl - JBOSS Portal 2.4 API 英文版文档


org.jboss.portal.server.servlet
Class PortalServlet.ServerRequestContextImpl

java.lang.Object
  extended byorg.jboss.portal.server.servlet.PortalServlet.ServerRequestContextImpl
All Implemented Interfaces:
ServerRequestContext
Enclosing class:
PortalServlet

public class PortalServlet.ServerRequestContextImpl
extends java.lang.Object
implements ServerRequestContext


Constructor Summary
PortalServlet.ServerRequestContextImpl(javax.servlet.http.HttpServletRequest req, java.lang.String requestPath, java.lang.String contextPath, java.util.Map parameterMap, URLContext urlContext, java.lang.String mediaType)
           
 
Method Summary
 javax.servlet.http.HttpServletRequest getClientRequest()
          Return the request that made the connection to 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.util.Map getParameterMap()
          Return the parameter map.
 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.
 URLContext getURLContext()
          Return the url context of this request.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortalServlet.ServerRequestContextImpl

public PortalServlet.ServerRequestContextImpl(javax.servlet.http.HttpServletRequest req,
                                              java.lang.String requestPath,
                                              java.lang.String contextPath,
                                              java.util.Map parameterMap,
                                              URLContext urlContext,
                                              java.lang.String mediaType)
Method Detail

getMediaType

public java.lang.String getMediaType()
Description copied from interface: ServerRequestContext
Return the normalized media type of the request or null if none has been provided by the client.

Specified by:
getMediaType in interface ServerRequestContext

getURLContext

public URLContext getURLContext()
Description copied from interface: ServerRequestContext
Return the url context of this request.

Specified by:
getURLContext in interface ServerRequestContext

getParameterMap

public java.util.Map getParameterMap()
Description copied from interface: ServerRequestContext
Return the parameter map.

Specified by:
getParameterMap in interface ServerRequestContext

getClientRequest

public javax.servlet.http.HttpServletRequest getClientRequest()
Description copied from interface: ServerRequestContext
Return the request that made the connection to the server.

Specified by:
getClientRequest in interface ServerRequestContext

getPortalRequestPath

public java.lang.String getPortalRequestPath()
Description copied from interface: ServerRequestContext
Return the value of the portal request path for this request.

Specified by:
getPortalRequestPath in interface ServerRequestContext

getPortalContextPath

public java.lang.String getPortalContextPath()
Description copied from interface: ServerRequestContext
Return the value of the portal context path for this request.

Specified by:
getPortalContextPath in interface ServerRequestContext