Class NullHttpRequestInterceptor
- java.lang.Object
-
- com.dynatrace.openkit.protocol.http.NullHttpRequestInterceptor
-
- All Implemented Interfaces:
HttpRequestInterceptor
public class NullHttpRequestInterceptor extends java.lang.Object implements HttpRequestInterceptor
-
-
Field Summary
Fields Modifier and Type Field Description static NullHttpRequestInterceptorINSTANCESole instance of this class.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidintercept(HttpRequest httpRequest)Intercept the HTTP request and manipulate it.
-
-
-
Field Detail
-
INSTANCE
public static final NullHttpRequestInterceptor INSTANCE
Sole instance of this class.
-
-
Method Detail
-
intercept
public void intercept(HttpRequest httpRequest)
Description copied from interface:HttpRequestInterceptorIntercept the HTTP request and manipulate it.Currently it's only possible to set custom HTTP headers.
- Specified by:
interceptin interfaceHttpRequestInterceptor- Parameters:
httpRequest- The HTTP request to Dynatrace backend.
-
-