com.sun.xml.ws.client
Class HandlerConfiguration
java.lang.Object
com.sun.xml.ws.client.HandlerConfiguration
public class HandlerConfiguration
- extends Object
This class holds the handler information on the BindingProvider.
HandlerConfiguration is immutable, and a new object is created
when the BindingImpl is created or User calls Binding.setHandlerChain() or
SOAPBinding.setRoles()
During inovcation in Stub.process(), snapshot of the handler configuration is set in
Packet.handlerConfig
The information in the HandlerConfiguration is used by MUPipe and HandlerTube
implementations.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HandlerConfiguration
public HandlerConfiguration(Set<String> roles,
Set<QName> portKnownHeaders,
List<javax.xml.ws.handler.Handler> handlerChain,
List<javax.xml.ws.handler.LogicalHandler> logicalHandlers,
List<javax.xml.ws.handler.soap.SOAPHandler> soapHandlers,
List<MessageHandler> messageHandlers,
Set<QName> handlerKnownHeaders)
- Parameters:
roles
- This contains the roles assumed by the Binding implementation.portKnownHeaders
- This contains the headers that are bound to the current WSDL PorthandlerChain
- This contains the handler chain set on the BindinglogicalHandlers
- soapHandlers
- handlerKnownHeaders
- The set is comprised of headers returned from SOAPHandler.getHeaders()
method calls.
getRoles
public Set<String> getRoles()
getHandlerChain
public List<javax.xml.ws.handler.Handler> getHandlerChain()
- Returns:
- return a copy of handler chain
getLogicalHandlers
public List<javax.xml.ws.handler.LogicalHandler> getLogicalHandlers()
getSoapHandlers
public List<javax.xml.ws.handler.soap.SOAPHandler> getSoapHandlers()
getMessageHandlers
public List<MessageHandler> getMessageHandlers()
getKnownHeaders
public Set<QName> getKnownHeaders()
getHandlerKnownHeaders
public Set<QName> getHandlerKnownHeaders()