Package 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 and roles on the Binding (mutable info in the binding). HandlerConfiguration is immutable, and a new object is created when the BindingImpl is created or User calls Binding.setHandlerChain() or SOAPBinding.setRoles(). During invocation 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.- Author:
- Rama Pulavarthi
-
-
Constructor Summary
Constructors Constructor Description HandlerConfiguration(Set<String> roles, HandlerConfiguration oldConfig)This is called when roles as reset on binding using SOAPBinding#setRoles(), to save reparsing the handlers again.HandlerConfiguration(Set<String> roles, List<jakarta.xml.ws.handler.Handler> handlerChain)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<jakarta.xml.ws.handler.Handler>getHandlerChain()Set<QName>getHandlerKnownHeaders()List<jakarta.xml.ws.handler.LogicalHandler>getLogicalHandlers()List<MessageHandler>getMessageHandlers()Set<String>getRoles()List<jakarta.xml.ws.handler.soap.SOAPHandler>getSoapHandlers()
-
-
-
Constructor Detail
-
HandlerConfiguration
public HandlerConfiguration(Set<String> roles, List<jakarta.xml.ws.handler.Handler> handlerChain)
- Parameters:
roles- This contains the roles assumed by the Binding implementation.handlerChain- This contains the handler chain set on the Binding
-
HandlerConfiguration
public HandlerConfiguration(Set<String> roles, HandlerConfiguration oldConfig)
This is called when roles as reset on binding using SOAPBinding#setRoles(), to save reparsing the handlers again.- Parameters:
roles-oldConfig-
-
-
Method Detail
-
getHandlerChain
public List<jakarta.xml.ws.handler.Handler> getHandlerChain()
- Returns:
- return a copy of handler chain
-
getLogicalHandlers
public List<jakarta.xml.ws.handler.LogicalHandler> getLogicalHandlers()
-
getSoapHandlers
public List<jakarta.xml.ws.handler.soap.SOAPHandler> getSoapHandlers()
-
getMessageHandlers
public List<MessageHandler> getMessageHandlers()
-
-