| addHeader(Node name, Node value) | | Add a header value by appending it to the existing value, or creating it if the header doesn't exist already |
|
| content(Node content) | | Set the message content |
|
| content(String content) | | Set the message content |
|
| content() | | Get the message content |
|
| contentType() | | Get the value of the Content-Type header |
|
| header(Node name, Node value) | | Set the named header |
|
| header(Node name) | | Get a message header | | Returns: The value of the header as a String |
|
| headers() | | Get a Map containing all headers |
|
| parse() | | parse the XML body of this net:Message | | Returns: the Message body as XML |
|
| read(String message) | | Read a net:Message from a String. | | Returns: This net:Message. |
|
| read(io:Stream stream) | | Read a net:Message from a stream. | | Returns: This net:Message. |
|
| string() | | Get a String representation of this net:Message. |
|
| write(io:Stream stream) | | Write this net:Message to a stream. |
|
|