com.sun.xml.messaging.saaj.soap.ver1_2
Class Message1_2Impl

java.lang.Object
  extended by javax.xml.soap.SOAPMessage
      extended by com.sun.xml.messaging.saaj.soap.MessageImpl
          extended by com.sun.xml.messaging.saaj.soap.ver1_2.Message1_2Impl
All Implemented Interfaces:
javax.xml.soap.SOAPConstants

public class Message1_2Impl
extends MessageImpl
implements javax.xml.soap.SOAPConstants


Field Summary
 
Fields inherited from class com.sun.xml.messaging.saaj.soap.MessageImpl
acceptFastInfoset, attachments, attachmentsInitialized, CONTENT_ID, CONTENT_LOCATION, FI_ENCODED_FLAG, headers, isFastInfoset, log, messageByteCount, messageBytes, MIME_MULTIPART_FLAG, MIME_MULTIPART_XOP_FLAG, mmp, multiPart, PLAIN_XML_FLAG, properties, saved, SOAP1_1_FLAG, SOAP1_2_FLAG, soapPart, XOP_FLAG
 
Fields inherited from class javax.xml.soap.SOAPMessage
CHARACTER_SET_ENCODING, WRITE_XML_DECLARATION
 
Fields inherited from interface javax.xml.soap.SOAPConstants
DEFAULT_SOAP_PROTOCOL, DYNAMIC_SOAP_PROTOCOL, SOAP_1_1_CONTENT_TYPE, SOAP_1_1_PROTOCOL, SOAP_1_2_CONTENT_TYPE, SOAP_1_2_PROTOCOL, SOAP_DATAENCODINGUNKNOWN_FAULT, SOAP_ENV_PREFIX, SOAP_MUSTUNDERSTAND_FAULT, SOAP_RECEIVER_FAULT, SOAP_SENDER_FAULT, SOAP_VERSIONMISMATCH_FAULT, URI_NS_SOAP_1_1_ENVELOPE, URI_NS_SOAP_1_2_ENCODING, URI_NS_SOAP_1_2_ENVELOPE, URI_NS_SOAP_ENCODING, URI_NS_SOAP_ENVELOPE, URI_SOAP_1_2_ROLE_NEXT, URI_SOAP_1_2_ROLE_NONE, URI_SOAP_1_2_ROLE_ULTIMATE_RECEIVER, URI_SOAP_ACTOR_NEXT
 
Constructor Summary
Message1_2Impl()
           
Message1_2Impl(boolean isFastInfoset, boolean acceptFastInfoset)
           
Message1_2Impl(javax.xml.soap.MimeHeaders headers, ContentType ct, int stat, java.io.InputStream in)
           
Message1_2Impl(javax.xml.soap.MimeHeaders headers, java.io.InputStream in)
           
Message1_2Impl(javax.xml.soap.SOAPMessage msg)
           
 
Method Summary
protected  java.lang.String getExpectedAcceptHeader()
           
protected  java.lang.String getExpectedContentType()
           
 javax.xml.soap.SOAPPart getSOAPPart()
           
protected  boolean isCorrectSoapVersion(int contentTypeId)
           
 
Methods inherited from class com.sun.xml.messaging.saaj.soap.MessageImpl
acceptFastInfoset, addAttachmentPart, countAttachments, createAttachmentPart, getAction, getAttachment, getAttachments, getAttachments, getBaseType, getCharset, getContentDescription, getContentType, getMimeHeaders, getProperty, getSOAPBody, getSOAPHeader, isFastInfoset, isSoap1_1Content, isSoap1_2Content, removeAllAttachments, removeAttachments, saveChanges, saveRequired, setAction, setBaseType, setCharset, setContentDescription, setContentType, setIsFastInfoset, setLazyAttachments, setProperty, writeTo
 
Methods inherited from class javax.xml.soap.SOAPMessage
createAttachmentPart, createAttachmentPart
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Message1_2Impl

public Message1_2Impl()

Message1_2Impl

public Message1_2Impl(javax.xml.soap.SOAPMessage msg)

Message1_2Impl

public Message1_2Impl(boolean isFastInfoset,
                      boolean acceptFastInfoset)

Message1_2Impl

public Message1_2Impl(javax.xml.soap.MimeHeaders headers,
                      java.io.InputStream in)
               throws java.io.IOException,
                      SOAPExceptionImpl
Throws:
java.io.IOException
SOAPExceptionImpl

Message1_2Impl

public Message1_2Impl(javax.xml.soap.MimeHeaders headers,
                      ContentType ct,
                      int stat,
                      java.io.InputStream in)
               throws SOAPExceptionImpl
Throws:
SOAPExceptionImpl
Method Detail

getSOAPPart

public javax.xml.soap.SOAPPart getSOAPPart()
Specified by:
getSOAPPart in class MessageImpl

isCorrectSoapVersion

protected boolean isCorrectSoapVersion(int contentTypeId)
Specified by:
isCorrectSoapVersion in class MessageImpl

getExpectedContentType

protected java.lang.String getExpectedContentType()
Specified by:
getExpectedContentType in class MessageImpl

getExpectedAcceptHeader

protected java.lang.String getExpectedAcceptHeader()
Specified by:
getExpectedAcceptHeader in class MessageImpl