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, Binding, SOAPBinding
public final class SOAPBindingImpl
- extends BindingImpl
- implements SOAPBinding
- Author:
- WS Development Team
| 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, setOutputMessageFeatures |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
X_SOAP12HTTP_BINDING
public static final String X_SOAP12HTTP_BINDING
- See Also:
- Constant Field Values
soapVersion
protected final SOAPVersion soapVersion
setPortKnownHeaders
public void setPortKnownHeaders(@NotNull
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.
- Parameters:
headers - SOAP header names
understandsHeader
public boolean understandsHeader(QName header)
- TODO A feature should be created to configure processing of MU headers.
- Parameters:
header -
- Returns:
setHandlerChain
public void setHandlerChain(List<Handler> chain)
- 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:
setHandlerChain in interface Binding
addRequiredRoles
protected void addRequiredRoles(Set<String> roles)
getRoles
public Set<String> getRoles()
- Specified by:
getRoles in interface SOAPBinding
setRoles
public void setRoles(Set<String> roles)
- 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:
setRoles in interface SOAPBinding
isMTOMEnabled
public boolean isMTOMEnabled()
- Used typically by the runtime to enable/disable Mtom optimization
- Specified by:
isMTOMEnabled in interface SOAPBinding
setMTOMEnabled
public void setMTOMEnabled(boolean b)
- Client application can override if the MTOM optimization should be enabled
- Specified by:
setMTOMEnabled in interface SOAPBinding
getSOAPFactory
public SOAPFactory getSOAPFactory()
- Specified by:
getSOAPFactory in interface SOAPBinding
getMessageFactory
public MessageFactory getMessageFactory()
- Specified by:
getMessageFactory in interface SOAPBinding
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.