|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sun.xml.ws.binding.BindingImpl
com.sun.xml.ws.binding.SOAPBindingImpl
public final class SOAPBindingImpl
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.sun.xml.ws.binding.BindingImpl |
|---|
BindingImpl.MessageKey |
| Field Summary | |
|---|---|
protected SOAPVersion |
soapVersion
|
static String |
X_SOAP12HTTP_BINDING
|
| Fields inherited from class com.sun.xml.ws.binding.BindingImpl |
|---|
EMPTY_FEATURES, faultMessageFeatures, features, handlerConfig, inputMessageFeatures, operationFeatures, outputMessageFeatures, serviceMode |
| Fields inherited from interface javax.xml.ws.soap.SOAPBinding |
|---|
SOAP11HTTP_BINDING, SOAP11HTTP_MTOM_BINDING, SOAP12HTTP_BINDING, SOAP12HTTP_MTOM_BINDING |
| Constructor Summary | |
|---|---|
SOAPBindingImpl(BindingID bindingId)
Use BindingImpl.create(BindingID) to create this. |
|
SOAPBindingImpl(BindingID bindingId,
WebServiceFeature... features)
Use BindingImpl.create(BindingID) to create this. |
|
| Method Summary | |
|---|---|
protected void |
addRequiredRoles(Set<String> roles)
|
javax.xml.soap.MessageFactory |
getMessageFactory()
|
Set<String> |
getRoles()
|
javax.xml.soap.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. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface javax.xml.ws.Binding |
|---|
getBindingID, getHandlerChain |
| Field Detail |
|---|
public static final String X_SOAP12HTTP_BINDING
protected final SOAPVersion soapVersion
| Constructor Detail |
|---|
SOAPBindingImpl(BindingID bindingId)
BindingImpl.create(BindingID) to create this.
bindingId - SOAP binding ID
SOAPBindingImpl(BindingID bindingId,
WebServiceFeature... features)
BindingImpl.create(BindingID) to create this.
bindingId - binding idfeatures - These features have a precedence over
the implicit features
associated with the BindingID.| Method Detail |
|---|
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 Bindingprotected void addRequiredRoles(Set<String> roles)
public Set<String> getRoles()
getRoles in interface SOAPBindingpublic void setRoles(Set<String> roles)
setRoles in interface SOAPBindingpublic boolean isMTOMEnabled()
isMTOMEnabled in interface SOAPBindingpublic void setMTOMEnabled(boolean b)
setMTOMEnabled in interface SOAPBindingpublic javax.xml.soap.SOAPFactory getSOAPFactory()
getSOAPFactory in interface SOAPBindingpublic javax.xml.soap.MessageFactory getMessageFactory()
getMessageFactory in interface SOAPBinding
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||