org.jboss.portal.wsrp.handler
Class RequestHeaderClientHandler

java.lang.Object
  extended by GenericHandler
      extended by org.jboss.portal.wsrp.handler.RequestHeaderClientHandler

public class RequestHeaderClientHandler
extends GenericHandler

A request handler that uses a thread local to setup cookies on the wire.

Author:
Julien Viet, Chris Laprun

Constructor Summary
RequestHeaderClientHandler()
           
 
Method Summary
static java.lang.String getCurrentGroupId()
           
static ProducerSessionInformation getCurrentProducerSessionInformation()
           
 javax.xml.namespace.QName[] getHeaders()
           
 boolean handleRequest(MessageContext msgContext)
           
 boolean handleResponse(MessageContext msgContext)
           
static void resetCurrentInfo()
           
static void setCurrentGroupId(java.lang.String groupId)
           
static void setCurrentInfo(java.lang.String groupId, ProducerSessionInformation sessionInformation)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RequestHeaderClientHandler

public RequestHeaderClientHandler()
Method Detail

getHeaders

public javax.xml.namespace.QName[] getHeaders()

handleRequest

public boolean handleRequest(MessageContext msgContext)

handleResponse

public boolean handleResponse(MessageContext msgContext)

setCurrentInfo

public static void setCurrentInfo(java.lang.String groupId,
                                  ProducerSessionInformation sessionInformation)

resetCurrentInfo

public static void resetCurrentInfo()

getCurrentProducerSessionInformation

public static ProducerSessionInformation getCurrentProducerSessionInformation()

getCurrentGroupId

public static java.lang.String getCurrentGroupId()

setCurrentGroupId

public static void setCurrentGroupId(java.lang.String groupId)