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

AbstractRequestContext - JBOSS Portal 2.4 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


Constructor Summary
AbstractRequestContext(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
           
 
Method Summary
 void addPropertyValue(java.lang.String name, java.lang.String value)
           
 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 getContextPath()
           
 java.util.Set getPropertyNames()
           
 java.lang.String getPropertyValue(java.lang.String name)
           
 java.util.Enumeration getPropertyValues(java.lang.String name)
           
 java.lang.String getScheme()
           
 java.lang.String getServerName()
           
 int getServerPort()
           
 void include(javax.servlet.RequestDispatcher rd)
           
 void setPropertyValue(java.lang.String name, java.lang.String value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

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

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