com.sun.xml.ws.encoding
Class StreamSOAP11Codec

java.lang.Object
  extended by com.sun.xml.ws.encoding.StreamSOAPCodec
      extended by com.sun.xml.ws.encoding.StreamSOAP11Codec
All Implemented Interfaces:
Codec, StreamSOAPCodec, RootOnlyCodec

final class StreamSOAP11Codec
extends StreamSOAPCodec

StreamSOAPCodec for SOAP 1.1.


Field Summary
static String DEFAULT_SOAP11_CONTENT_TYPE
           
static String SOAP11_MIME_TYPE
           
 
Fields inherited from class com.sun.xml.ws.encoding.StreamSOAPCodec
serializationFeature
 
Constructor Summary
StreamSOAP11Codec()
           
StreamSOAP11Codec(WSBinding binding)
           
StreamSOAP11Codec(WSFeatureList features)
           
 
Method Summary
protected  StreamHeader createHeader(javax.xml.stream.XMLStreamReader reader, com.sun.xml.stream.buffer.XMLStreamBuffer mark)
           
protected  ContentType getContentType(Packet packet)
           
protected  String getDefaultContentType()
           
protected  List<String> getExpectedContentTypes()
           
 String getMimeType()
          Get the MIME type associated with this Codec.
 
Methods inherited from class com.sun.xml.ws.encoding.StreamSOAPCodec
copy, create, create, create, decode, decode, decode, decode, decode, decode, encode, encode, getContenTypeBuilder, getStaticContentType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

SOAP11_MIME_TYPE

public static final String SOAP11_MIME_TYPE
See Also:
Constant Field Values

DEFAULT_SOAP11_CONTENT_TYPE

public static final String DEFAULT_SOAP11_CONTENT_TYPE
See Also:
Constant Field Values
Constructor Detail

StreamSOAP11Codec

StreamSOAP11Codec()

StreamSOAP11Codec

StreamSOAP11Codec(WSBinding binding)

StreamSOAP11Codec

StreamSOAP11Codec(WSFeatureList features)
Method Detail

getMimeType

public String getMimeType()
Description copied from interface: Codec
Get the MIME type associated with this Codec.

If available the MIME type will represent the media that the codec encodes and decodes. The MIME type returned will be the most general representation independent of an instance of this MIME type utilized as a MIME content-type.

Returns:
null if the MIME type can't be determined by the Codec implementation. Otherwise the MIME type is returned.

createHeader

protected final StreamHeader createHeader(javax.xml.stream.XMLStreamReader reader,
                                          com.sun.xml.stream.buffer.XMLStreamBuffer mark)
Specified by:
createHeader in class StreamSOAPCodec

getContentType

protected ContentType getContentType(Packet packet)
Specified by:
getContentType in class StreamSOAPCodec

getDefaultContentType

protected String getDefaultContentType()
Specified by:
getDefaultContentType in class StreamSOAPCodec

getExpectedContentTypes

protected List<String> getExpectedContentTypes()
Specified by:
getExpectedContentTypes in class StreamSOAPCodec


Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.