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

CoreComponentResponseContext - JBOSS Portal 2.2 API 英文版文档


org.jboss.portal.core.command
Class CoreComponentResponseContext

java.lang.Object
  extended byorg.jboss.portal.core.command.CoreComponentResponseContext
All Implemented Interfaces:
ComponentResponseContext

public class CoreComponentResponseContext
extends java.lang.Object
implements ComponentResponseContext


Field Summary
protected  CommandContext ctx
           
protected  ServerResponse resp
           
protected  java.lang.String windowHandle
           
 
Constructor Summary
CoreComponentResponseContext(CommandContext ctx, ServerResponse resp, java.lang.String windowHandle)
           
 
Method Summary
 java.lang.String createUpdateNavigationalStateURL(Mode mode, WindowState windowState)
           
 java.lang.String encodeURL(ComponentURL curl, boolean relative)
          Encode the URL into a string.
 java.lang.String encodeURL(ControllerCommand cmd, URLInfo urlInfo)
           
 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
 

Field Detail

ctx

protected CommandContext ctx

resp

protected ServerResponse resp

windowHandle

protected java.lang.String windowHandle
Constructor Detail

CoreComponentResponseContext

public CoreComponentResponseContext(CommandContext ctx,
                                    ServerResponse resp,
                                    java.lang.String windowHandle)
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 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 encode
relative - 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)