public class XML2HTTP extends Object
Request.write(XMLStreamWriter) and
Response.write(XMLStreamWriter).| Constructor and Description |
|---|
XML2HTTP() |
| Modifier and Type | Method and Description |
|---|---|
static void |
unwrapMessageIfNecessary(Message message)
Checks, if the response contains an XML doc with NS
Constants.HTTP_NS. |
public static void unwrapMessageIfNecessary(Message message)
Constants.HTTP_NS.
If it does, the HTTP data (uri, method, status, headers, body) is extracted from the doc
and set as the response.
Reverse of Request.write(XMLStreamWriter) and
Response.write(XMLStreamWriter).Copyright © 2019. All Rights Reserved.