当前页面:
在线文档首页 >
JBOSS Portal 2.2 API 英文版文档
AbstractRequestContext - JBOSS Portal 2.2 API 英文版文档
org.jboss.portal.server.app.impl
Class AbstractRequestContext
java.lang.Object
org.jboss.portal.server.app.impl.AbstractRequestContext
- All Implemented Interfaces:
- RequestContext
- public class AbstractRequestContext
- extends java.lang.Object
- implements RequestContext
Constructor Summary |
AbstractRequestContext(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
REMOVED_ATTRIBUTE
protected static final java.lang.Object REMOVED_ATTRIBUTE
req
protected javax.servlet.http.HttpServletRequest req
resp
protected javax.servlet.http.HttpServletResponse resp
attributes
protected java.util.Map attributes
properties
protected Properties properties
AbstractRequestContext
public AbstractRequestContext(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse resp)
getClientRequest
public javax.servlet.http.HttpServletRequest getClientRequest()
getClientResponse
public javax.servlet.http.HttpServletResponse getClientResponse()
getAttribute
public java.lang.Object getAttribute(java.lang.String name)
- Specified by:
getAttribute
in interface RequestContext
setAttribute
public void setAttribute(java.lang.String name,
java.lang.Object value)
- Specified by:
setAttribute
in interface RequestContext
getAttributeNames
public java.util.Set getAttributeNames()
- Specified by:
getAttributeNames
in interface RequestContext
addPropertyValue
public void addPropertyValue(java.lang.String name,
java.lang.String value)
- Specified by:
addPropertyValue
in interface RequestContext
setPropertyValue
public void setPropertyValue(java.lang.String name,
java.lang.String value)
- Specified by:
setPropertyValue
in interface RequestContext
getPropertyValue
public java.lang.String getPropertyValue(java.lang.String name)
- Specified by:
getPropertyValue
in interface RequestContext
getPropertyValues
public java.util.Enumeration getPropertyValues(java.lang.String name)
- Specified by:
getPropertyValues
in interface RequestContext
getPropertyNames
public java.util.Set getPropertyNames()
- Specified by:
getPropertyNames
in interface RequestContext
getScheme
public java.lang.String getScheme()
- Specified by:
getScheme
in interface RequestContext
getServerName
public java.lang.String getServerName()
- Specified by:
getServerName
in interface RequestContext
getServerPort
public int getServerPort()
- Specified by:
getServerPort
in interface RequestContext
getContextPath
public java.lang.String getContextPath()
- Specified by:
getContextPath
in interface RequestContext
include
public void include(javax.servlet.RequestDispatcher rd)
throws java.io.IOException,
javax.servlet.ServletException
- Specified by:
include
in interface RequestContext
- Throws:
java.io.IOException
javax.servlet.ServletException