Internally, this method is most likely invoke {@link Message#writeTo(XMLStreamWriter)}to turn the message into infoset. @param packet @param out Must not be null. The caller is responsible for closing the stream, not the callee. @return The MIME content type of the encoded message (such as "application/xml"). This information is often ncessary by transport. @throws IOException if a {@link OutputStream} throws {@link IOException}.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|