public class NullHttpRequestInterceptor extends java.lang.Object implements HttpRequestInterceptor
| Modifier and Type | Field and Description |
|---|---|
static NullHttpRequestInterceptor |
INSTANCE
Sole instance of this class.
|
| Modifier and Type | Method and Description |
|---|---|
void |
intercept(HttpRequest httpRequest)
Intercept the HTTP request and manipulate it.
|
public static final NullHttpRequestInterceptor INSTANCE
public void intercept(HttpRequest httpRequest)
HttpRequestInterceptorCurrently it's only possible to set custom HTTP headers.
intercept in interface HttpRequestInterceptorhttpRequest - The HTTP request to Dynatrace backend.