org.jboss.portal.wsrp.handler
Class RequestHeaderClientHandler
java.lang.Object
javax.xml.rpc.handler.GenericHandler
org.jboss.portal.wsrp.handler.RequestHeaderClientHandler
- All Implemented Interfaces:
- javax.xml.rpc.handler.Handler
public class RequestHeaderClientHandler
- extends javax.xml.rpc.handler.GenericHandler
A request handler that uses a thread local to setup cookies on the wire.
- Author:
- Julien Viet, Chris
Laprun
| Methods inherited from class javax.xml.rpc.handler.GenericHandler |
destroy, handleFault, init |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RequestHeaderClientHandler
public RequestHeaderClientHandler()
getHeaders
public javax.xml.namespace.QName[] getHeaders()
- Specified by:
getHeaders in interface javax.xml.rpc.handler.Handler- Specified by:
getHeaders in class javax.xml.rpc.handler.GenericHandler
handleRequest
public boolean handleRequest(javax.xml.rpc.handler.MessageContext msgContext)
- Specified by:
handleRequest in interface javax.xml.rpc.handler.Handler- Overrides:
handleRequest in class javax.xml.rpc.handler.GenericHandler
handleResponse
public boolean handleResponse(javax.xml.rpc.handler.MessageContext msgContext)
- Specified by:
handleResponse in interface javax.xml.rpc.handler.Handler- Overrides:
handleResponse in class javax.xml.rpc.handler.GenericHandler
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)