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

AbstractRequestContext - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.portlet.impl.spi
Class AbstractRequestContext

java.lang.Object
  extended byorg.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)
           
 
Method Summary
 java.lang.Object getAttribute(java.lang.String name)
           
 java.util.Enumeration getAttributeNames()
           
 javax.servlet.http.HttpServletRequest getClientRequest()
           
 javax.servlet.http.HttpServletResponse getClientResponse()
           
 java.lang.String getScheme()
           
 java.lang.String getServerName()
           
 int getServerPort()
           
 void include(javax.servlet.RequestDispatcher rd)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

req

private javax.servlet.http.HttpServletRequest req

resp

private javax.servlet.http.HttpServletResponse resp
Constructor Detail

AbstractRequestContext

public AbstractRequestContext(javax.servlet.http.HttpServletRequest req,
                              javax.servlet.http.HttpServletResponse resp)
Method Detail

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