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 WSBinding
SOAPVersion
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 Tube
s.public AddressingVersion getAddressingVersion()
WSBinding
getAddressingVersion
in interface WSBinding
AddressingVersion
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()
WSBinding
The 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 WSBinding
public List<Handler> getHandlerChain()
getHandlerChain
in interface WSBinding
getHandlerChain
in interface Binding
public void setHandlerChain(List<Handler> chain)
setHandlerChain
in interface Binding
public Set<QName> getKnownHeaders()
WSBinding
getKnownHeaders
in interface WSBinding
public boolean addKnownHeader(QName knownHeader)
WSBinding
addKnownHeader
in interface WSBinding
knownHeader
- Known header QNamepublic String getBindingID()
getBindingID
in interface Binding
public boolean isFeatureEnabled(@NotNull Class<? extends WebServiceFeature> feature)
WSBinding
WebServiceFeature
is enabled.isFeatureEnabled
in interface WSBinding
public <F extends WebServiceFeature> F getFeature(@NotNull Class<F> featureType)
WSBinding
WebServiceFeature
of the specific type.getFeature
in interface WSBinding
featureType
- The type of the feature to retrieve.public WSFeatureList getFeatures()
WSBinding
WSBinding
.getFeatures
in interface WSBinding
public boolean isOperationFeatureEnabled(Class<? extends WebServiceFeature> type, QName qname)
WSBinding
WebServiceFeature
on an operation is enabled.isOperationFeatureEnabled
in interface WSBinding
qname
- The WSDL name of the operation.public <F extends WebServiceFeature> F getOperationFeature(Class<F> type, QName qname)
WSBinding
WebServiceFeature
of the specific type that applies to an operation.getOperationFeature
in interface WSBinding
type
- The type of the feature to retrieve.qname
- The WSDL name of the operation.public WSFeatureList getOperationFeatures(QName qname)
WSBinding
WSBinding
that apply to
a particular operation.getOperationFeatures
in interface WSBinding
qname
- The WSDL name of the operation.public WSFeatureList getInputMessageFeatures(QName qname)
WSBinding
WSBinding
that apply to
the input message of an operation.getInputMessageFeatures
in interface WSBinding
qname
- The WSDL name of the operation.public WSFeatureList getOutputMessageFeatures(QName qname)
WSBinding
WSBinding
that apply to
the output message of an operation.getOutputMessageFeatures
in interface WSBinding
qname
- The WSDL name of the operation.public WSFeatureList getFaultMessageFeatures(QName qname, QName qname1)
WSBinding
WSBinding
that apply to
one of the fault messages of an operation.getFaultMessageFeatures
in interface WSBinding
qname
- 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 WSBinding
Copyright © 2015 Oracle Corporation. All rights reserved.