fm.liveswitch.HttpResponseArgs Class Reference

Arguments for receiving an HTTP response. More...

Public Member Functions

byte[] getBinaryContent ()
 Gets the binary content read from the HTTP response. More...
 
java.lang.Exception getException ()
 Gets the exception generated while completing the request. More...
 
java.util.HashMap< String, String > getHeaders ()
 Gets the headers read from the HTTP response. More...
 
fm.liveswitch.HttpRequestArgs getRequestArgs ()
 Gets the original fm.liveswitch.HttpRequestArgs. More...
 
int getRetries ()
 Gets the number of retries that were required. More...
 
int getStatusCode ()
 Gets the status code read from the HTTP response. More...
 
String getTextContent ()
 Gets the text content read from the HTTP response. More...
 
 HttpResponseArgs (fm.liveswitch.HttpRequestArgs requestArgs)
 Initializes a new instance of the fm.liveswitch.HttpResponseArgs class. More...
 
void setBinaryContent (byte[] value)
 Sets the binary content read from the HTTP response. More...
 
void setException (java.lang.Exception value)
 Sets the exception generated while completing the request. More...
 
void setRequestArgs (fm.liveswitch.HttpRequestArgs value)
 Sets the original fm.liveswitch.HttpRequestArgs. More...
 
void setRetries (int value)
 Sets the number of retries that were required. More...
 
void setStatusCode (int value)
 Sets the status code read from the HTTP response. More...
 
void setTextContent (String value)
 Sets the text content read from the HTTP response. More...
 

Detailed Description

Arguments for receiving an HTTP response.

Constructor & Destructor Documentation

◆ HttpResponseArgs()

fm.liveswitch.HttpResponseArgs.HttpResponseArgs ( fm.liveswitch.HttpRequestArgs  requestArgs)

Initializes a new instance of the fm.liveswitch.HttpResponseArgs class.

Parameters
requestArgsThe request arguments.

Member Function Documentation

◆ getBinaryContent()

byte [] fm.liveswitch.HttpResponseArgs.getBinaryContent ( )

Gets the binary content read from the HTTP response.

◆ getException()

java.lang.Exception fm.liveswitch.HttpResponseArgs.getException ( )

Gets the exception generated while completing the request.

◆ getHeaders()

java.util.HashMap<String,String> fm.liveswitch.HttpResponseArgs.getHeaders ( )

Gets the headers read from the HTTP response.

◆ getRequestArgs()

fm.liveswitch.HttpRequestArgs fm.liveswitch.HttpResponseArgs.getRequestArgs ( )

Gets the original fm.liveswitch.HttpRequestArgs.

◆ getRetries()

int fm.liveswitch.HttpResponseArgs.getRetries ( )

Gets the number of retries that were required.

◆ getStatusCode()

int fm.liveswitch.HttpResponseArgs.getStatusCode ( )

Gets the status code read from the HTTP response.

◆ getTextContent()

String fm.liveswitch.HttpResponseArgs.getTextContent ( )

Gets the text content read from the HTTP response.

◆ setBinaryContent()

void fm.liveswitch.HttpResponseArgs.setBinaryContent ( byte[]  value)

Sets the binary content read from the HTTP response.

◆ setException()

void fm.liveswitch.HttpResponseArgs.setException ( java.lang.Exception  value)

Sets the exception generated while completing the request.

◆ setRequestArgs()

void fm.liveswitch.HttpResponseArgs.setRequestArgs ( fm.liveswitch.HttpRequestArgs  value)

Sets the original fm.liveswitch.HttpRequestArgs.

◆ setRetries()

void fm.liveswitch.HttpResponseArgs.setRetries ( int  value)

Sets the number of retries that were required.

◆ setStatusCode()

void fm.liveswitch.HttpResponseArgs.setStatusCode ( int  value)

Sets the status code read from the HTTP response.

◆ setTextContent()

void fm.liveswitch.HttpResponseArgs.setTextContent ( String  value)

Sets the text content read from the HTTP response.