org.portletbridge.portlet
Class DefaultPerPortletMemento

java.lang.Object
  extended by org.portletbridge.portlet.DefaultPerPortletMemento
All Implemented Interfaces:
java.io.Serializable, HttpClientState, PerPortletMemento

public class DefaultPerPortletMemento
extends java.lang.Object
implements PerPortletMemento, java.io.Serializable

Default implementation of the per portlet memento. This stored information about the current state of the portlet that can be retrieved by the PortletBridgePortlet.

Author:
JMcCrindle
See Also:
Serialized Form

Constructor Summary
DefaultPerPortletMemento(BridgeAuthenticator bridgeAuthenticator)
           
 
Method Summary
 PortletBridgeContent dequeueContent(java.lang.String bridgeRequestId)
           
 void enqueueContent(java.lang.String bridgeRequestId, PortletBridgeContent content)
           
 SerializeableHttpState getHttpState()
           
 java.net.URI getInitUrl()
           
 java.lang.String getProxyHost()
           
 int getProxyPort()
           
 java.util.regex.Pattern getScope()
           
 void setPreferences(javax.portlet.RenderRequest request)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultPerPortletMemento

public DefaultPerPortletMemento(BridgeAuthenticator bridgeAuthenticator)
Method Detail

getHttpState

public SerializeableHttpState getHttpState()
Specified by:
getHttpState in interface HttpClientState

getProxyHost

public java.lang.String getProxyHost()
Specified by:
getProxyHost in interface HttpClientState

getProxyPort

public int getProxyPort()
Specified by:
getProxyPort in interface HttpClientState

setPreferences

public void setPreferences(javax.portlet.RenderRequest request)
                    throws org.portletbridge.ResourceException
Specified by:
setPreferences in interface PerPortletMemento
Throws:
org.portletbridge.ResourceException

getScope

public java.util.regex.Pattern getScope()
Specified by:
getScope in interface PerPortletMemento

getInitUrl

public java.net.URI getInitUrl()
Specified by:
getInitUrl in interface PerPortletMemento

enqueueContent

public void enqueueContent(java.lang.String bridgeRequestId,
                           PortletBridgeContent content)
Specified by:
enqueueContent in interface PerPortletMemento

dequeueContent

public PortletBridgeContent dequeueContent(java.lang.String bridgeRequestId)
Specified by:
dequeueContent in interface PerPortletMemento


Copyright © 2002-2006 Grape Design Limited. All Rights Reserved.