Class ResponseEnvelope
java.lang.Object
io.github.dsheirer.rrapi.response.ResponseEnvelope
Base response envelope
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionEncoding styleResponse body/payloadvoidsetEncodingStyle(String style) Sets the encoding stylevoidsetResponseBody(ResponseBody responseBody) Sets the response bodyXML as string
-
Constructor Details
-
ResponseEnvelope
public ResponseEnvelope()Constructs an instance
-
-
Method Details
-
getResponseBody
-
setResponseBody
Sets the response body- Parameters:
responseBody- to set
-
getEncodingStyle
-
setEncodingStyle
-
toXmlString
XML as string- Returns:
- string xml
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if there is an error
-