| Constructor and Description |
|---|
FeatureSupressingWSBinding(Class<? extends WebServiceFeature> supressedftr,
WSBinding binding) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addKnownHeader(QName knownHeader)
Adds header QName to set known to be supported by this binding
|
AddressingVersion |
getAddressingVersion()
Gets the WS-Addressing version of this binding.
|
BindingID |
getBindingId()
Gets the binding ID, which uniquely identifies the binding.
|
String |
getBindingID() |
WSFeatureList |
getFaultMessageFeatures(QName qname,
QName qname1)
Experimental: Returns a list of features associated with
WSBinding that apply to
one of the fault messages of an operation. |
<F extends WebServiceFeature> |
getFeature(Class<F> featureType)
Gets a
WebServiceFeature of the specific type. |
WSFeatureList |
getFeatures()
Returns a list of features associated with
WSBinding. |
List<Handler> |
getHandlerChain() |
WSFeatureList |
getInputMessageFeatures(QName qname)
Experimental: Returns a list of features associated with
WSBinding that apply to
the input message of an operation. |
Set<QName> |
getKnownHeaders()
Returns set of header QNames known to be supported by this binding.
|
com.oracle.webservices.api.message.MessageContextFactory |
getMessageContextFactory() |
<F extends WebServiceFeature> |
getOperationFeature(Class<F> type,
QName qname)
Experimental: Gets a
WebServiceFeature of the specific type that applies to an operation. |
WSFeatureList |
getOperationFeatures(QName qname)
Experimental: Returns a list of features associated with
WSBinding that apply to
a particular operation. |
WSFeatureList |
getOutputMessageFeatures(QName qname)
Experimental: Returns a list of features associated with
WSBinding that apply to
the output message of an operation. |
SOAPVersion |
getSOAPVersion()
Gets the SOAP version of this binding.
|
boolean |
isFeatureEnabled(Class<? extends WebServiceFeature> feature)
Checks if a particular
WebServiceFeature is enabled. |
boolean |
isOperationFeatureEnabled(Class<? extends WebServiceFeature> type,
QName qname)
Experimental: Checks if a particular
WebServiceFeature on an operation is enabled. |
void |
setHandlerChain(List<Handler> chain) |
public FeatureSupressingWSBinding(Class<? extends WebServiceFeature> supressedftr, WSBinding binding)
public SOAPVersion getSOAPVersion()
WSBinding
This is just a short-cut for getBindingID().getSOAPVersion()
getSOAPVersion in interface WSBindingSOAPVersion constant.
If the binding is not based on SOAP, this method
returns null. See Message for how a non-SOAP
binding shall be handled by Tubes.public AddressingVersion getAddressingVersion()
WSBindinggetAddressingVersion in interface WSBindingAddressingVersion constant.
If binding is not using SOAP or WS-Addressing is not enabled,
this method returns null.
This might be little slow as it has to go over all the features on binding.
Its advisable to cache the addressingVersion wherever possible and reuse it.public BindingID getBindingId()
WSBindingThe relevant specs define the binding IDs and what they mean. The ID is used in many places to identify the kind of binding (such as SOAP1.1, SOAP1.2, REST, ...)
getBindingId in interface WSBindingpublic List<Handler> getHandlerChain()
getHandlerChain in interface WSBindinggetHandlerChain in interface Bindingpublic void setHandlerChain(List<Handler> chain)
setHandlerChain in interface Bindingpublic Set<QName> getKnownHeaders()
WSBindinggetKnownHeaders in interface WSBindingpublic boolean addKnownHeader(QName knownHeader)
WSBindingaddKnownHeader in interface WSBindingknownHeader - Known header QNamepublic String getBindingID()
getBindingID in interface Bindingpublic boolean isFeatureEnabled(@NotNull
Class<? extends WebServiceFeature> feature)
WSBindingWebServiceFeature is enabled.isFeatureEnabled in interface WSBindingpublic <F extends WebServiceFeature> F getFeature(@NotNull Class<F> featureType)
WSBindingWebServiceFeature of the specific type.getFeature in interface WSBindingfeatureType - The type of the feature to retrieve.public WSFeatureList getFeatures()
WSBindingWSBinding.getFeatures in interface WSBindingpublic boolean isOperationFeatureEnabled(Class<? extends WebServiceFeature> type, QName qname)
WSBindingWebServiceFeature on an operation is enabled.isOperationFeatureEnabled in interface WSBindingqname - The WSDL name of the operation.public <F extends WebServiceFeature> F getOperationFeature(Class<F> type, QName qname)
WSBindingWebServiceFeature of the specific type that applies to an operation.getOperationFeature in interface WSBindingtype - The type of the feature to retrieve.qname - The WSDL name of the operation.public WSFeatureList getOperationFeatures(QName qname)
WSBindingWSBinding that apply to
a particular operation.getOperationFeatures in interface WSBindingqname - The WSDL name of the operation.public WSFeatureList getInputMessageFeatures(QName qname)
WSBindingWSBinding that apply to
the input message of an operation.getInputMessageFeatures in interface WSBindingqname - The WSDL name of the operation.public WSFeatureList getOutputMessageFeatures(QName qname)
WSBindingWSBinding that apply to
the output message of an operation.getOutputMessageFeatures in interface WSBindingqname - The WSDL name of the operation.public WSFeatureList getFaultMessageFeatures(QName qname, QName qname1)
WSBindingWSBinding that apply to
one of the fault messages of an operation.getFaultMessageFeatures in interface WSBindingqname - The WSDL name of the operation.qname1 - The WSDL name of the fault message.public com.oracle.webservices.api.message.MessageContextFactory getMessageContextFactory()
getMessageContextFactory in interface WSBindingCopyright © 2015 Oracle Corporation. All rights reserved.