| java.lang.Object com.sun.xml.ws.api.message.Message com.sun.xml.ws.message.AbstractMessageImpl com.sun.xml.ws.message.stream.StreamMessage
Constructor Summary | |
public | StreamMessage(HeaderList headers, AttachmentSet attachmentSet, XMLStreamReader reader, SOAPVersion soapVersion) Creates a
StreamMessage from a
XMLStreamReader that points at the start element of the payload, and headers.
This method creaets a
Message from a payload.
Parameters: headers - if null, it means no headers. | public | StreamMessage(TagInfoset envelopeTag, TagInfoset headerTag, AttachmentSet attachmentSet, HeaderList headers, TagInfoset bodyTag, XMLStreamReader reader, SOAPVersion soapVersion) Creates a
StreamMessage from a
XMLStreamReader and the complete infoset of the SOAP envelope. |
StreamMessage | public StreamMessage(HeaderList headers, AttachmentSet attachmentSet, XMLStreamReader reader, SOAPVersion soapVersion)(Code) | | Creates a
StreamMessage from a
XMLStreamReader that points at the start element of the payload, and headers.
This method creaets a
Message from a payload.
Parameters: headers - if null, it means no headers. if non-null,it will be owned by this message. Parameters: reader - points at the start element/document of the payload (or the end element of the <s:Body>if there's no payload) |
consume | public void consume()(Code) | | |
getPayloadLocalPart | public String getPayloadLocalPart()(Code) | | |
getPayloadNamespaceURI | public String getPayloadNamespaceURI()(Code) | | |
hasHeaders | public boolean hasHeaders()(Code) | | |
hasPayload | public boolean hasPayload()(Code) | | |
readPayloadAsSource | public Source readPayloadAsSource()(Code) | | |
|
|