Package com.sun.xml.ws.binding
Class SOAPBindingImpl
java.lang.Object
com.sun.xml.ws.binding.BindingImpl
com.sun.xml.ws.binding.SOAPBindingImpl
- All Implemented Interfaces:
WSBinding,jakarta.xml.ws.Binding,jakarta.xml.ws.soap.SOAPBinding
- Author:
- WS Development Team
-
Nested Class Summary
Nested classes/interfaces inherited from class com.sun.xml.ws.binding.BindingImpl
BindingImpl.MessageKey -
Field Summary
FieldsFields inherited from class com.sun.xml.ws.binding.BindingImpl
EMPTY_FEATURES, faultMessageFeatures, features, inputMessageFeatures, messageContextFactory, operationFeatures, outputMessageFeatures, serviceModeFields inherited from interface jakarta.xml.ws.soap.SOAPBinding
SOAP11HTTP_BINDING, SOAP11HTTP_MTOM_BINDING, SOAP12HTTP_BINDING, SOAP12HTTP_MTOM_BINDING -
Method Summary
Modifier and TypeMethodDescriptionprotected voidaddRequiredRoles(Set<String> roles) jakarta.xml.soap.MessageFactorygetRoles()jakarta.xml.soap.SOAPFactorybooleanUsed typically by the runtime to enable/disable Mtom optimizationvoidsetHandlerChain(List<jakarta.xml.ws.handler.Handler> chain) Sets the handlers on the binding and then sorts the handlers in to logical and protocol handlers.voidsetMTOMEnabled(boolean b) Client application can override if the MTOM optimization should be enabledvoidsetPortKnownHeaders(Set<QName> headers) This method should be called if the binding has SOAPSEIModel The Headers understood by the Port are set, so that they can be used for MU processing.voidAdds the next and other roles in case this has been called by a user without them.booleanunderstandsHeader(QName header) TODO A feature should be created to configure processing of MU headers.Methods inherited from class com.sun.xml.ws.binding.BindingImpl
addKnownHeader, create, create, createCodec, getAddressingVersion, getBindingId, getBindingID, getDefaultBinding, getFaultMessageFeatures, getFeature, getFeatures, getHandlerChain, getHandlerConfig, getInputMessageFeatures, getKnownHeaders, getMessageContextFactory, getOperationFeature, getOperationFeatures, getOutputMessageFeatures, getSOAPVersion, initializeJavaActivationHandlers, isFeatureEnabled, isOperationFeatureEnabled, setFaultMessageFeatures, setHandlerConfig, setInputMessageFeatures, setMode, setOperationFeatures, setOutputMessageFeaturesMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface jakarta.xml.ws.Binding
getBindingID
-
Field Details
-
X_SOAP12HTTP_BINDING
- See Also:
-
soapVersion
-
-
Method Details
-
setPortKnownHeaders
This method should be called if the binding has SOAPSEIModel The Headers understood by the Port are set, so that they can be used for MU processing.- Parameters:
headers- SOAP header names
-
understandsHeader
TODO A feature should be created to configure processing of MU headers.- Parameters:
header-- Returns:
-
setHandlerChain
Sets the handlers on the binding and then sorts the handlers in to logical and protocol handlers. Creates a new HandlerConfiguration object and sets it on the BindingImpl. Also parses Headers understood by Protocol Handlers and sets the HandlerConfiguration.- Specified by:
setHandlerChainin interfacejakarta.xml.ws.Binding
-
addRequiredRoles
-
getRoles
- Specified by:
getRolesin interfacejakarta.xml.ws.soap.SOAPBinding
-
setRoles
Adds the next and other roles in case this has been called by a user without them. Creates a new HandlerConfiguration object and sets it on the BindingImpl.- Specified by:
setRolesin interfacejakarta.xml.ws.soap.SOAPBinding
-
isMTOMEnabled
public boolean isMTOMEnabled()Used typically by the runtime to enable/disable Mtom optimization- Specified by:
isMTOMEnabledin interfacejakarta.xml.ws.soap.SOAPBinding
-
setMTOMEnabled
public void setMTOMEnabled(boolean b) Client application can override if the MTOM optimization should be enabled- Specified by:
setMTOMEnabledin interfacejakarta.xml.ws.soap.SOAPBinding
-
getSOAPFactory
public jakarta.xml.soap.SOAPFactory getSOAPFactory()- Specified by:
getSOAPFactoryin interfacejakarta.xml.ws.soap.SOAPBinding
-
getMessageFactory
public jakarta.xml.soap.MessageFactory getMessageFactory()- Specified by:
getMessageFactoryin interfacejakarta.xml.ws.soap.SOAPBinding
-