public interface NetworkRequestCallback
NetworkRequestCallback interface can be used to be modify the the URL or other properties of a network request after completion and just prior to the queueing of the beacon.
To configure the AppDynamics Agent to use your callback, use AgentConfiguration.Builder.withNetworkRequestCallback(com.appdynamics.eumagent.runtime.NetworkRequestCallback)
Modifier and Type | Method and Description |
---|---|
boolean |
onNetworkRequest(HttpRequestTracker requestTracker)
Called when a Network Request beacon is about to be sent.
|
boolean onNetworkRequest(HttpRequestTracker requestTracker)
Called when a Network Request beacon is about to be sent.
Calling reportDone on this object will have no effect.
WARNING: This callback is notified on the application thread that the Network Request completes on.
requestTracker
- an HttpRequestTracker
for this network request.