public final class SOAPBindingImpl extends BindingImpl implements SOAPBinding
BindingImpl.MessageKey
Modifier and Type | Field and Description |
---|---|
protected SOAPVersion |
soapVersion |
static String |
X_SOAP12HTTP_BINDING |
EMPTY_FEATURES, faultMessageFeatures, features, inputMessageFeatures, messageContextFactory, operationFeatures, outputMessageFeatures, serviceMode
SOAP11HTTP_BINDING, SOAP11HTTP_MTOM_BINDING, SOAP12HTTP_BINDING, SOAP12HTTP_MTOM_BINDING
Modifier and Type | Method and Description |
---|---|
protected void |
addRequiredRoles(Set<String> roles) |
MessageFactory |
getMessageFactory() |
Set<String> |
getRoles() |
SOAPFactory |
getSOAPFactory() |
boolean |
isMTOMEnabled()
Used typically by the runtime to enable/disable Mtom optimization
|
void |
setHandlerChain(List<Handler> chain)
Sets the handlers on the binding and then sorts the handlers in to logical and protocol handlers.
|
void |
setMTOMEnabled(boolean b)
Client application can override if the MTOM optimization should be enabled
|
void |
setPortKnownHeaders(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.
|
void |
setRoles(Set<String> roles)
Adds the next and other roles in case this has
been called by a user without them.
|
boolean |
understandsHeader(QName header)
TODO A feature should be created to configure processing of MU headers.
|
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBindingID, getHandlerChain
public static final String X_SOAP12HTTP_BINDING
protected final SOAPVersion soapVersion
public void setPortKnownHeaders(@NotNull Set<QName> headers)
headers
- SOAP header namespublic boolean understandsHeader(QName header)
header
- public void setHandlerChain(List<Handler> chain)
setHandlerChain
in interface Binding
public Set<String> getRoles()
getRoles
in interface SOAPBinding
public void setRoles(Set<String> roles)
setRoles
in interface SOAPBinding
public boolean isMTOMEnabled()
isMTOMEnabled
in interface SOAPBinding
public void setMTOMEnabled(boolean b)
setMTOMEnabled
in interface SOAPBinding
public SOAPFactory getSOAPFactory()
getSOAPFactory
in interface SOAPBinding
public MessageFactory getMessageFactory()
getMessageFactory
in interface SOAPBinding
Copyright © 2015 Oracle Corporation. All rights reserved.