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

RenderHandler - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.wsrp.consumer
Class RenderHandler

java.lang.Object
  extended byorg.jboss.portal.wsrp.consumer.InvocationHandler
      extended byorg.jboss.portal.wsrp.consumer.RenderHandler

public class RenderHandler
extends InvocationHandler

Since:
2.4 (May 31, 2006)
Version:
$Revision: 5440 $
Author:
Chris Laprun

Nested Class Summary
private static class RenderHandler.ResourceURLRewriter
           
private static class RenderHandler.WSRPURLRewriter
           
 
Field Summary
private  java.lang.ThreadLocal resourceURLRewriterLocal
          .
private static java.lang.String SEPARATOR
          The separator constant.
private  java.lang.ThreadLocal wsrpURLRewriterLocal
          .
 
Fields inherited from class org.jboss.portal.wsrp.consumer.InvocationHandler
consumer, log
 
Constructor Summary
RenderHandler(WSRPConsumerImpl consumer)
           
 
Method Summary
private  void cacheMarkupIfNeeded(MarkupContext markupContext, FragmentResponse result)
           
private  GetMarkup getRenderRequest(java.lang.Object request)
           
protected  RuntimeContext getRuntimeContextFrom(java.lang.Object request)
           
protected  java.lang.Object performRequest(java.lang.Object request)
           
protected  java.lang.Object prepareRequest(RequestPrecursor requestPrecursor, PortletInvocation invocation)
           
private  java.lang.String processMarkup(java.lang.String markup, PortletInvocation invocation, boolean rewriteURLs)
           
protected  PortletInvocationResponse processResponse(java.lang.Object response, PortletInvocation invocation, RequestPrecursor requestPrecursor)
           
protected  void updateRegistrationContext(java.lang.Object request)
           
protected  void updateUserContext(java.lang.Object request, UserContext userContext)
           
 
Methods inherited from class org.jboss.portal.wsrp.consumer.InvocationHandler
handle, performRequest, unwrapWSRPError
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SEPARATOR

private static final java.lang.String SEPARATOR
The separator constant.

See Also:
Constant Field Values

wsrpURLRewriterLocal

private final java.lang.ThreadLocal wsrpURLRewriterLocal
.


resourceURLRewriterLocal

private final java.lang.ThreadLocal resourceURLRewriterLocal
.

Constructor Detail

RenderHandler

public RenderHandler(WSRPConsumerImpl consumer)
Method Detail

prepareRequest

protected java.lang.Object prepareRequest(RequestPrecursor requestPrecursor,
                                          PortletInvocation invocation)
Specified by:
prepareRequest in class InvocationHandler

processResponse

protected PortletInvocationResponse processResponse(java.lang.Object response,
                                                    PortletInvocation invocation,
                                                    RequestPrecursor requestPrecursor)
Specified by:
processResponse in class InvocationHandler

updateUserContext

protected void updateUserContext(java.lang.Object request,
                                 UserContext userContext)
Specified by:
updateUserContext in class InvocationHandler

updateRegistrationContext

protected void updateRegistrationContext(java.lang.Object request)
Specified by:
updateRegistrationContext in class InvocationHandler

getRuntimeContextFrom

protected RuntimeContext getRuntimeContextFrom(java.lang.Object request)
Specified by:
getRuntimeContextFrom in class InvocationHandler

performRequest

protected java.lang.Object performRequest(java.lang.Object request)
                                   throws java.lang.Exception
Specified by:
performRequest in class InvocationHandler
Throws:
java.lang.Exception

getRenderRequest

private GetMarkup getRenderRequest(java.lang.Object request)

processMarkup

private java.lang.String processMarkup(java.lang.String markup,
                                       PortletInvocation invocation,
                                       boolean rewriteURLs)

cacheMarkupIfNeeded

private void cacheMarkupIfNeeded(MarkupContext markupContext,
                                 FragmentResponse result)