当前页面:
在线文档首页 >
JBOSS Portal 2.6 API 英文版文档
AbstractRequestContext - JBOSS Portal 2.6 API 英文版文档
org.jboss.portal.portlet.impl.spi
Class AbstractRequestContext
java.lang.Object
org.jboss.portal.portlet.impl.spi.AbstractRequestContext
- All Implemented Interfaces:
- RequestContext
- Direct Known Subclasses:
- WSRPRequestContext
- public class AbstractRequestContext
- extends java.lang.Object
- implements RequestContext
- Version:
- $Revision: 5477 $
- Author:
- Julien Viet
Field Summary |
private javax.servlet.http.HttpServletRequest |
req
|
private javax.servlet.http.HttpServletResponse |
resp
|
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 |
req
private javax.servlet.http.HttpServletRequest req
resp
private javax.servlet.http.HttpServletResponse resp
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
getAttributeNames
public java.util.Enumeration getAttributeNames()
- Specified by:
getAttributeNames
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
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