Class HeadersInspectionHandler
java.lang.Object
com.microsoft.kiota.http.middleware.HeadersInspectionHandler
- All Implemented Interfaces:
okhttp3.Interceptor
The middleware responsible for inspecting the request and response headers
-
Nested Class Summary
Nested classes/interfaces inherited from interface okhttp3.Interceptor
okhttp3.Interceptor.Chain, okhttp3.Interceptor.Companion -
Field Summary
Fields inherited from interface okhttp3.Interceptor
Companion -
Constructor Summary
ConstructorsConstructorDescriptionCreate a new instance of the HeadersInspectionHandler class with the default optionsCreate a new instance of the HeadersInspectionHandler class with the provided options -
Method Summary
-
Constructor Details
-
HeadersInspectionHandler
public HeadersInspectionHandler()Create a new instance of the HeadersInspectionHandler class with the default options -
HeadersInspectionHandler
Create a new instance of the HeadersInspectionHandler class with the provided options- Parameters:
options- The options to use for the handler
-
-
Method Details
-
intercept
- Specified by:
interceptin interfaceokhttp3.Interceptor- Throws:
IOException
-