org.apache.cocoon.portal.wsrp.consumer
Class WSRPRequestImpl

java.lang.Object
  extended byorg.apache.wsrp4j.consumer.driver.GenericWSRPBaseRequestImpl
      extended byorg.apache.cocoon.portal.wsrp.consumer.WSRPRequestImpl
All Implemented Interfaces:
org.apache.wsrp4j.consumer.InteractionRequest, org.apache.wsrp4j.consumer.MarkupRequest, org.apache.wsrp4j.consumer.WSRPBaseRequest

public class WSRPRequestImpl
extends org.apache.wsrp4j.consumer.driver.GenericWSRPBaseRequestImpl
implements org.apache.wsrp4j.consumer.InteractionRequest, org.apache.wsrp4j.consumer.MarkupRequest

Holds all parameters to communicate with the producer to get the right portlet. It uses the org.apache.cocoon.portal.wsrp.consumer to get the window-information, the org.apache.cocoon.portal.wsrp.consumer for the interaction-state, form-parameters and so on, last but not least the org.apache.cocoon.portal.wsrp.consumer for all other information.

Version:
$Id: WSRPRequestImpl.java 322475 2005-10-16 14:26:44Z cziegeler $

Field Summary
protected  org.apache.wsrp4j.consumer.ConsumerEnvironment consEnv
          Consumer environment contains all registries to get the required information
protected  Request request
          Request-parameters
protected  SimplePortletWindowSession windowSession
          Portlet-window settings
 
Fields inherited from class org.apache.wsrp4j.consumer.driver.GenericWSRPBaseRequestImpl
logger
 
Constructor Summary
WSRPRequestImpl(SimplePortletWindowSession session, Request request, org.apache.wsrp4j.consumer.ConsumerEnvironment env)
          Constructor
 
Method Summary
 oasis.names.tc.wsrp.v1.types.MarkupContext getCachedMarkup()
           
 String[] getCharacterEncodingSet()
           
 oasis.names.tc.wsrp.v1.types.ClientData getClientData()
           
 oasis.names.tc.wsrp.v1.types.NamedString[] getFormParameters()
           
 String getInteractionState()
           
 String[] getLocales()
           
 String[] getMimeTypes()
           
 String getMode()
           
 String[] getModes()
           
 String getNavigationalState()
           
 String getPortletInstanceKey()
           
 String getSessionID()
           
 String getUserAuthentication()
           
 String getWindowState()
           
 String[] getWindowStates()
           
 
Methods inherited from class org.apache.wsrp4j.consumer.driver.GenericWSRPBaseRequestImpl
isModeSupported, isWindowStateSupported
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.wsrp4j.consumer.WSRPBaseRequest
isModeSupported, isWindowStateSupported
 

Field Detail

windowSession

protected final SimplePortletWindowSession windowSession
Portlet-window settings


request

protected final Request request
Request-parameters


consEnv

protected final org.apache.wsrp4j.consumer.ConsumerEnvironment consEnv
Consumer environment contains all registries to get the required information

Constructor Detail

WSRPRequestImpl

public WSRPRequestImpl(SimplePortletWindowSession session,
                       Request request,
                       org.apache.wsrp4j.consumer.ConsumerEnvironment env)
Constructor

Parameters:
session -
request -
env - ConsumerEnvironment
Method Detail

getSessionID

public String getSessionID()
Specified by:
getSessionID in interface org.apache.wsrp4j.consumer.WSRPBaseRequest
See Also:
GenericWSRPBaseRequestImpl.getSessionID()

getPortletInstanceKey

public String getPortletInstanceKey()
Specified by:
getPortletInstanceKey in interface org.apache.wsrp4j.consumer.WSRPBaseRequest
See Also:
GenericWSRPBaseRequestImpl.getPortletInstanceKey()

getNavigationalState

public String getNavigationalState()
Specified by:
getNavigationalState in interface org.apache.wsrp4j.consumer.WSRPBaseRequest
See Also:
GenericWSRPBaseRequestImpl.getNavigationalState()

getWindowState

public String getWindowState()
Specified by:
getWindowState in interface org.apache.wsrp4j.consumer.WSRPBaseRequest
See Also:
GenericWSRPBaseRequestImpl.getWindowState()

getMode

public String getMode()
Specified by:
getMode in interface org.apache.wsrp4j.consumer.WSRPBaseRequest
See Also:
GenericWSRPBaseRequestImpl.getMode()

getClientData

public oasis.names.tc.wsrp.v1.types.ClientData getClientData()
Specified by:
getClientData in interface org.apache.wsrp4j.consumer.WSRPBaseRequest
See Also:
GenericWSRPBaseRequestImpl.getClientData()

getLocales

public String[] getLocales()
Specified by:
getLocales in interface org.apache.wsrp4j.consumer.WSRPBaseRequest
See Also:
GenericWSRPBaseRequestImpl.getLocales()

getModes

public String[] getModes()
Specified by:
getModes in interface org.apache.wsrp4j.consumer.WSRPBaseRequest
See Also:
GenericWSRPBaseRequestImpl.getModes()

getWindowStates

public String[] getWindowStates()
Specified by:
getWindowStates in interface org.apache.wsrp4j.consumer.WSRPBaseRequest
See Also:
GenericWSRPBaseRequestImpl.getWindowStates()

getMimeTypes

public String[] getMimeTypes()
Specified by:
getMimeTypes in interface org.apache.wsrp4j.consumer.WSRPBaseRequest
See Also:
GenericWSRPBaseRequestImpl.getMimeTypes()

getCharacterEncodingSet

public String[] getCharacterEncodingSet()
Specified by:
getCharacterEncodingSet in interface org.apache.wsrp4j.consumer.WSRPBaseRequest
See Also:
GenericWSRPBaseRequestImpl.getCharacterEncodingSet()

getUserAuthentication

public String getUserAuthentication()
Specified by:
getUserAuthentication in interface org.apache.wsrp4j.consumer.WSRPBaseRequest
See Also:
GenericWSRPBaseRequestImpl.getUserAuthentication()

getInteractionState

public String getInteractionState()
Specified by:
getInteractionState in interface org.apache.wsrp4j.consumer.InteractionRequest
See Also:
InteractionRequest.getInteractionState()

getFormParameters

public oasis.names.tc.wsrp.v1.types.NamedString[] getFormParameters()
Specified by:
getFormParameters in interface org.apache.wsrp4j.consumer.InteractionRequest
See Also:
InteractionRequest.getFormParameters()

getCachedMarkup

public oasis.names.tc.wsrp.v1.types.MarkupContext getCachedMarkup()
Specified by:
getCachedMarkup in interface org.apache.wsrp4j.consumer.MarkupRequest
See Also:
MarkupRequest.getCachedMarkup()


Copyright ? 1999-2005 The Apache Software Foundation. All Rights Reserved.