当前页面:
在线文档首页 >
JBOSS Portal 2.2 API 英文版文档
CoreComponentResponseContext - JBOSS Portal 2.2 API 英文版文档
org.jboss.portal.core.command
Class CoreComponentResponseContext
java.lang.Object
org.jboss.portal.core.command.CoreComponentResponseContext
- All Implemented Interfaces:
- ComponentResponseContext
- public class CoreComponentResponseContext
- extends java.lang.Object
- implements ComponentResponseContext
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ctx
protected CommandContext ctx
resp
protected ServerResponse resp
windowHandle
protected java.lang.String windowHandle
CoreComponentResponseContext
public CoreComponentResponseContext(CommandContext ctx,
ServerResponse resp,
java.lang.String windowHandle)
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 curl,
boolean relative)
- Description copied from interface:
ComponentResponseContext
- Encode the URL into a string.
- Specified by:
encodeURL
in interface ComponentResponseContext
- Parameters:
curl
- the url to encoderelative
- issue a relative link or not
- Returns:
- the encoded URL
encodeURL
public java.lang.String encodeURL(ControllerCommand cmd,
URLInfo urlInfo)
createUpdateNavigationalStateURL
public java.lang.String createUpdateNavigationalStateURL(Mode mode,
WindowState windowState)