当前页面:
在线文档首页 >
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.
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 encoderelative
- issue a relative link or not
- Returns:
- the encoded URL
- Throws:
java.lang.IllegalArgumentException
- if one argument is missing