Module com.sun.xml.messaging.saaj
Class Message1_2Impl
java.lang.Object
jakarta.xml.soap.SOAPMessage
com.sun.xml.messaging.saaj.soap.MessageImpl
com.sun.xml.messaging.saaj.soap.ver1_2.Message1_2Impl
- All Implemented Interfaces:
SOAPConstants
-
Field Summary
Fields inherited from class com.sun.xml.messaging.saaj.soap.MessageImpl
acceptFastInfoset, attachments, attachmentsInitialized, CONTENT_ID, CONTENT_LOCATION, contentType, FI_ENCODED_FLAG, headers, isFastInfoset, LAZY_SOAP_BODY_PARSING, messageByteCount, messageBytes, MIME_MULTIPART_FLAG, MIME_MULTIPART_XOP_SOAP1_1_FLAG, MIME_MULTIPART_XOP_SOAP1_2_FLAG, mmp, multiPart, PLAIN_XML_FLAG, properties, SAAJ_MIME_SOAP_BODY_PART_SIZE_LIMIT, saved, SOAP1_1_FLAG, SOAP1_2_FLAG, soapPartImpl, XOP_FLAG
Fields inherited from class jakarta.xml.soap.SOAPMessage
CHARACTER_SET_ENCODING, WRITE_XML_DECLARATION
Fields inherited from interface jakarta.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
ConstructorDescriptionMessage1_2Impl
(boolean isFastInfoset, boolean acceptFastInfoset) Message1_2Impl
(MimeHeaders headers, ContentType ct, int stat, InputStream in) Message1_2Impl
(MimeHeaders headers, ContentType ct, int stat, XMLStreamReader reader) Message1_2Impl
(MimeHeaders headers, InputStream in) -
Method Summary
Modifier and TypeMethodDescriptionprotected String
protected String
Gets the SOAP part of thisSOAPMessage
object.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, isLazySoapBodyParsing, isSoap1_1Content, isSoap1_2Content, removeAllAttachments, removeAttachments, saveChanges, saveRequired, setAction, setBaseType, setCharset, setContentDescription, setContentType, setIsFastInfoset, setLazyAttachments, setProperty, writeTo
Methods inherited from class jakarta.xml.soap.SOAPMessage
createAttachmentPart, createAttachmentPart
-
Constructor Details
-
Message1_2Impl
public Message1_2Impl() -
Message1_2Impl
-
Message1_2Impl
public Message1_2Impl(boolean isFastInfoset, boolean acceptFastInfoset) -
Message1_2Impl
- Throws:
IOException
SOAPExceptionImpl
-
Message1_2Impl
public Message1_2Impl(MimeHeaders headers, ContentType ct, int stat, InputStream in) throws SOAPExceptionImpl - Throws:
SOAPExceptionImpl
-
Message1_2Impl
public Message1_2Impl(MimeHeaders headers, ContentType ct, int stat, XMLStreamReader reader) throws SOAPExceptionImpl - Throws:
SOAPExceptionImpl
-
-
Method Details
-
getSOAPPart
Description copied from class:SOAPMessage
Gets the SOAP part of thisSOAPMessage
object.SOAPMessage
object contains one or more attachments, the SOAP Part must be the first MIME body part in the message.- Specified by:
getSOAPPart
in classMessageImpl
- Returns:
- the
SOAPPart
object for thisSOAPMessage
object
-
isCorrectSoapVersion
protected boolean isCorrectSoapVersion(int contentTypeId) - Specified by:
isCorrectSoapVersion
in classMessageImpl
-
getExpectedContentType
- Specified by:
getExpectedContentType
in classMessageImpl
-
getExpectedAcceptHeader
- Specified by:
getExpectedAcceptHeader
in classMessageImpl
-