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 ContentTypeImpl defaultContentType
           
static String SOAP11_CONTENT_TYPE
           
static String SOAP11_MIME_TYPE
           
 
Constructor Summary
StreamSOAP11Codec()
           
 
Method Summary
protected  StreamHeader createHeader(javax.xml.stream.XMLStreamReader reader, com.sun.xml.stream.buffer.XMLStreamBuffer mark)
           
protected  ContentType getContentType(String soapAction)
           
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, decode, decode, decode, decode, decode, decode, encode, encode, 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

SOAP11_CONTENT_TYPE

public static final String SOAP11_CONTENT_TYPE
See Also:
Constant Field Values

defaultContentType

public static final ContentTypeImpl defaultContentType
Constructor Detail

StreamSOAP11Codec

StreamSOAP11Codec()
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(String soapAction)
Specified by:
getContentType in class StreamSOAPCodec

getExpectedContentTypes

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