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

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


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

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

public class PortalServlet.ServerResponseContextImpl
extends java.lang.Object
implements ServerResponseContext


Constructor Summary
PortalServlet.ServerResponseContextImpl(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse resp)
           
 
Method Summary
 java.lang.String encodeURL(ServerURL url, URLContext context, URLFormat format)
           
 javax.servlet.http.HttpServletResponse getClientResponse()
          The original servlet response.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortalServlet.ServerResponseContextImpl

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

getClientResponse

public javax.servlet.http.HttpServletResponse getClientResponse()
Description copied from interface: ServerResponseContext
The original servlet response.

Specified by:
getClientResponse in interface ServerResponseContext
Returns:
the http response

encodeURL

public java.lang.String encodeURL(ServerURL url,
                                  URLContext context,
                                  URLFormat format)
Specified by:
encodeURL in interface ServerResponseContext
Parameters:
url -
context -
format -
Returns:
the encoded url