Module com.sun.xml.messaging.saaj
Class Message1_1Impl
java.lang.Object
jakarta.xml.soap.SOAPMessage
com.sun.xml.messaging.saaj.soap.MessageImpl
com.sun.xml.messaging.saaj.soap.ver1_1.Message1_1Impl
- 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_FLAGFields inherited from class jakarta.xml.soap.SOAPMessage
CHARACTER_SET_ENCODING, WRITE_XML_DECLARATIONFields 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
ConstructorsConstructorDescriptionMessage1_1Impl(boolean isFastInfoset, boolean acceptFastInfoset) Message1_1Impl(MimeHeaders headers, ContentType ct, int stat, InputStream in) Message1_1Impl(MimeHeaders headers, ContentType ct, int stat, XMLStreamReader reader) Message1_1Impl(MimeHeaders headers, InputStream in) -
Method Summary
Modifier and TypeMethodDescriptionprotected Stringprotected StringGets the SOAP part of thisSOAPMessageobject.protected booleanisCorrectSoapVersion(int contentTypeId) voidvoidsetCharset(String charset) Methods inherited from class com.sun.xml.messaging.saaj.soap.MessageImpl
acceptFastInfoset, addAttachmentPart, countAttachments, createAttachmentPart, getAttachment, getAttachments, getAttachments, getBaseType, getContentDescription, getContentType, getMimeHeaders, getProperty, getSOAPBody, getSOAPHeader, isFastInfoset, isLazySoapBodyParsing, isSoap1_1Content, isSoap1_2Content, removeAllAttachments, removeAttachments, saveChanges, saveRequired, setBaseType, setContentDescription, setContentType, setIsFastInfoset, setLazyAttachments, setProperty, writeToMethods inherited from class jakarta.xml.soap.SOAPMessage
createAttachmentPart, createAttachmentPart
-
Constructor Details
-
Message1_1Impl
public Message1_1Impl() -
Message1_1Impl
public Message1_1Impl(boolean isFastInfoset, boolean acceptFastInfoset) -
Message1_1Impl
-
Message1_1Impl
- Throws:
IOExceptionSOAPExceptionImpl
-
Message1_1Impl
public Message1_1Impl(MimeHeaders headers, ContentType ct, int stat, InputStream in) throws SOAPExceptionImpl - Throws:
SOAPExceptionImpl
-
Message1_1Impl
public Message1_1Impl(MimeHeaders headers, ContentType ct, int stat, XMLStreamReader reader) throws SOAPExceptionImpl - Throws:
SOAPExceptionImpl
-
-
Method Details
-
getSOAPPart
Description copied from class:SOAPMessageGets the SOAP part of thisSOAPMessageobject.SOAPMessageobject contains one or more attachments, the SOAP Part must be the first MIME body part in the message.- Specified by:
getSOAPPartin classMessageImpl- Returns:
- the
SOAPPartobject for thisSOAPMessageobject
-
isCorrectSoapVersion
protected boolean isCorrectSoapVersion(int contentTypeId) - Specified by:
isCorrectSoapVersionin classMessageImpl
-
getAction
- Overrides:
getActionin classMessageImpl
-
setAction
- Overrides:
setActionin classMessageImpl
-
getCharset
- Overrides:
getCharsetin classMessageImpl
-
setCharset
- Overrides:
setCharsetin classMessageImpl
-
getExpectedContentType
- Specified by:
getExpectedContentTypein classMessageImpl
-
getExpectedAcceptHeader
- Specified by:
getExpectedAcceptHeaderin classMessageImpl
-