Package com.dynatrace.openkit.api.http
Interface HttpRequestInterceptor
-
- All Known Implementing Classes:
NullHttpRequestInterceptor
public interface HttpRequestInterceptorAn interface allowing to intercept an HTTP request, before it is sent to the backend system.This interceptor is only applied to HTTP requests which are sent to Dynatrace backends.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidintercept(HttpRequest httpRequest)Intercept the HTTP request and manipulate it.
-
-
-
Method Detail
-
intercept
void intercept(HttpRequest httpRequest)
Intercept the HTTP request and manipulate it.Currently it's only possible to set custom HTTP headers.
- Parameters:
httpRequest- The HTTP request to Dynatrace backend.
-
-