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

PortletController.ComponentResponseContextImpl - JBOSS Portal 2.2 API 英文版文档


org.jboss.portal.portlet.test
Class PortletController.ComponentResponseContextImpl

java.lang.Object
  extended byorg.jboss.portal.portlet.test.PortletController.ComponentResponseContextImpl
All Implemented Interfaces:
ComponentResponseContext
Enclosing class:
PortletController

protected class PortletController.ComponentResponseContextImpl
extends java.lang.Object
implements ComponentResponseContext


Constructor Summary
PortletController.ComponentResponseContextImpl(Component component, ServerInvocation invocation)
           
 
Method Summary
 java.lang.String encodeURL(ComponentURL url, boolean relative)
          Encode the URL into a string.
 java.lang.String encodeURL(java.lang.String url)
           
 HTTPStreamInfo getStreamInfo()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PortletController.ComponentResponseContextImpl

public PortletController.ComponentResponseContextImpl(Component component,
                                                      ServerInvocation invocation)
Method Detail

getStreamInfo

public HTTPStreamInfo getStreamInfo()
Specified by:
getStreamInfo in interface ComponentResponseContext

encodeURL

public java.lang.String encodeURL(java.lang.String url)
Specified by:
encodeURL in interface ComponentResponseContext

encodeURL

public java.lang.String encodeURL(ComponentURL url,
                                  boolean relative)
Description copied from interface: ComponentResponseContext
Encode the URL into a string.

Specified by:
encodeURL in interface ComponentResponseContext
Parameters:
url - the url to encode
relative - issue a relative link or not
Returns:
the encoded URL