public interface CommunicationProblemListener
|Modifier and Type||Method and Description|
called when the agent was not able to receive an http response.
called when the agent successfully received an http response, but the response is invalid.
Dynatrace.setBeaconHeaders(Map)and the agent will send a new http request (with the specified headers) to the beacon endpoint.
responseCode- status code from the received http response
responseMessage- message from the received http response
body- the body from the received http response
void onError(Throwable throwable)
throwable- the reason why the agent was not able receive an http response
© 2020 Dynatrace LLC. All Rights Reserved