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

ComponentResponseContext - JBOSS Portal 2.2 API 英文版文档


org.jboss.portal.server.app
Interface ComponentResponseContext

All Known Implementing Classes:
CoreComponentResponseContext, PortletController.ComponentResponseContextImpl

public interface ComponentResponseContext

Spi interface for the response side of the component invoker.


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()
           
 

Method Detail

getStreamInfo

public HTTPStreamInfo getStreamInfo()

encodeURL

public java.lang.String encodeURL(java.lang.String url)

encodeURL

public java.lang.String encodeURL(ComponentURL url,
                                  boolean relative)
Encode the URL into a string.

Parameters:
url - the url to encode
relative - issue a relative link or not
Returns:
the encoded URL
Throws:
java.lang.IllegalArgumentException - if one argument is missing