BEAST
eu.baltrad.beast.exchange.ExchangeResponse Class Reference

The returned response when sending an exchange message. More...

Public Member Functions

 ExchangeResponse (int statusCode)
 The exchange response.
 
 ExchangeResponse (int statusCode, String message)
 Constructor.
 
int statusCode ()
 
boolean isRedirected ()
 
void setRedirected (boolean redirected)
 
String getMessage ()
 
void setMessage (String message)
 
String getRedirectAddress ()
 
void setRedirectAddress (String redirectAddress)
 

Detailed Description

The returned response when sending an exchange message.

Author
anders

Constructor & Destructor Documentation

◆ ExchangeResponse() [1/2]

eu.baltrad.beast.exchange.ExchangeResponse.ExchangeResponse ( int statusCode)
inline

The exchange response.

Parameters
statusCodethe status code

◆ ExchangeResponse() [2/2]

eu.baltrad.beast.exchange.ExchangeResponse.ExchangeResponse ( int statusCode,
String message )
inline

Constructor.

Parameters
statusCodethe status code
messagethe message

Member Function Documentation

◆ getMessage()

String eu.baltrad.beast.exchange.ExchangeResponse.getMessage ( )
inline
Returns
the message

◆ getRedirectAddress()

String eu.baltrad.beast.exchange.ExchangeResponse.getRedirectAddress ( )
inline
Returns
the redirect address

◆ isRedirected()

boolean eu.baltrad.beast.exchange.ExchangeResponse.isRedirected ( )
inline
Returns
if redirect indication

◆ setMessage()

void eu.baltrad.beast.exchange.ExchangeResponse.setMessage ( String message)
inline
Parameters
messagethe message

◆ setRedirectAddress()

void eu.baltrad.beast.exchange.ExchangeResponse.setRedirectAddress ( String redirectAddress)
inline
Parameters
redirectAddressthe redirect address

◆ setRedirected()

void eu.baltrad.beast.exchange.ExchangeResponse.setRedirected ( boolean redirected)
inline
Parameters
redirectedif there is an indication that address has been redirect

◆ statusCode()

int eu.baltrad.beast.exchange.ExchangeResponse.statusCode ( )
inline
Returns
the status code

The documentation for this class was generated from the following file: