|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface WebServiceMessage
Represents a protocol-agnostic XML message.
Contains methods that provide access to the payload of the message.
SoapMessage
,
WebServiceMessageFactory
Method Summary | |
---|---|
Result |
getPayloadResult()
Returns the contents of the message as a Result . |
Source |
getPayloadSource()
Returns the contents of the message as a Source . |
void |
writeTo(OutputStream outputStream)
Writes the entire message to the given output stream. |
Method Detail |
---|
Source getPayloadSource()
Source
. Depending on the implementation, this can be retrieved multiple times, or just a single time.
Result getPayloadResult()
Result
.
Calling this method removes the current payload.
Implementations that are read-only will throw an UnsupportedOperationException
.
UnsupportedOperationException
- if the message is read-onlyvoid writeTo(OutputStream outputStream) throws IOException
If the given stream is an instance of TransportOutputStream
, the corresponding headers will be written as well.
outputStream
- the stream to write to
IOException
- if an I/O exception occurs
|
Spring Web Services Framework | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |