public abstract class Codecs extends Object
Codec
implementations.
This class provides methods to create codecs for SOAP/HTTP binding. It allows to replace default SOAP envelope(primary part in MIME message) codec in the whole Codec.
This is a part of the JAX-WS RI internal API so that
Tube
and transport implementations can reuse the implementations
done inside the JAX-WS.
Constructor and Description |
---|
Codecs() |
Modifier and Type | Method and Description |
---|---|
static SOAPBindingCodec |
createSOAPBindingCodec(WSBinding binding,
StreamSOAPCodec xmlEnvelopeCodec)
This creates a full
Codec for SOAP binding using the primary
XML codec argument. |
static SOAPBindingCodec |
createSOAPBindingCodec(WSFeatureList feature)
This creates a full
Codec for SOAP binding. |
static StreamSOAPCodec |
createSOAPEnvelopeXmlCodec(SOAPVersion version)
Creates a default
Codec that can be used to used to
decode XML infoset in SOAP envelope(primary part in MIME message). |
static StreamSOAPCodec |
createSOAPEnvelopeXmlCodec(WSBinding binding)
Deprecated.
|
static StreamSOAPCodec |
createSOAPEnvelopeXmlCodec(WSFeatureList features)
Creates a default
Codec that can be used to used to
decode XML infoset in SOAP envelope(primary part in MIME message). |
static Codec |
createXMLCodec(WSFeatureList feature)
This creates a full
Codec for XML binding. |
@NotNull public static SOAPBindingCodec createSOAPBindingCodec(WSFeatureList feature)
Codec
for SOAP binding.feature
- the WebServiceFeature objects@NotNull public static Codec createXMLCodec(WSFeatureList feature)
Codec
for XML binding.feature
- the WebServiceFeature objects@NotNull public static SOAPBindingCodec createSOAPBindingCodec(WSBinding binding, StreamSOAPCodec xmlEnvelopeCodec)
Codec
for SOAP binding using the primary
XML codec argument. The codec argument is used to encode/decode SOAP envelopes
while the returned codec is responsible for encoding/decoding the whole
message.
Creates codecs can be set during the Tube
line assembly process.
binding
- binding of the webservicexmlEnvelopeCodec
- SOAP envelope codecServerTubeAssemblerContext.setCodec(Codec)
,
ClientTubeAssemblerContext.setCodec(Codec)
@NotNull public static StreamSOAPCodec createSOAPEnvelopeXmlCodec(@NotNull SOAPVersion version)
Codec
that can be used to used to
decode XML infoset in SOAP envelope(primary part in MIME message). New codecs
can be written using this codec as delegate.version
- SOAP version of the binding@NotNull public static StreamSOAPCodec createSOAPEnvelopeXmlCodec(@NotNull WSBinding binding)
createSOAPEnvelopeXmlCodec(WSFeatureList)
Codec
that can be used to used to
decode XML infoset in SOAP envelope(primary part in MIME message).
New codecs can be written using this codec as delegate. WSBinding
parameter is used to get SOAP version and features.binding
- SOAP version and features are used from this binding@NotNull public static StreamSOAPCodec createSOAPEnvelopeXmlCodec(@NotNull WSFeatureList features)
Codec
that can be used to used to
decode XML infoset in SOAP envelope(primary part in MIME message).
New codecs can be written using this codec as delegate. WSFeatureList
parameter is used to get SOAP version and features.features
- SOAP version and features are used from this WSFeatureListCopyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.