public interface MessageWritable
Modifier and Type | Method and Description |
---|---|
org.jvnet.ws.message.ContentType |
getContentType()
Gets the Content-type of this message.
|
org.jvnet.ws.message.ContentType |
writeTo(OutputStream out)
Writes the XML infoset portion of this MessageContext
(from <soap:Envelope> to </soap:Envelope>).
|
org.jvnet.ws.message.ContentType getContentType()
org.jvnet.ws.message.ContentType writeTo(OutputStream out) throws IOException
out
- Must not be null. The caller is responsible for closing the stream,
not the callee.IOException
- if a OutputStream
throws IOException
.Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.