Class RequestEnvelope
java.lang.Object
io.github.dsheirer.rrapi.request.RequestEnvelope
Base SOAP request envelope
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs an instanceRequestEnvelope(RequestBody requestBody) Constructs an instance -
Method Summary
Modifier and TypeMethodDescriptionstatic RequestEnvelopecreate(RequestBody requestBody) Creates an envelope from the request bodyRequest bodyRequest headervoidsetRequestBody(RequestBody requestBody) Sets the request bodyvoidsetRequestHeader(RequestHeader requestHeader) Sets the request headerXML as string
-
Constructor Details
-
RequestEnvelope
public RequestEnvelope()Constructs an instance -
RequestEnvelope
Constructs an instance- Parameters:
requestBody- to stuff in the envelope
-
-
Method Details
-
getRequestHeader
-
setRequestHeader
Sets the request header- Parameters:
requestHeader- to set
-
getRequestBody
-
setRequestBody
Sets the request body- Parameters:
requestBody- to set
-
toXmlString
XML as string- Returns:
- string xml
- Throws:
com.fasterxml.jackson.core.JsonProcessingException- if there is an error
-
create
Creates an envelope from the request body- Parameters:
requestBody- to stuff in the envelope- Returns:
- envelope
-