Package com.microsoft.rest.interceptors
Class RequestIdHeaderInterceptor
- java.lang.Object
-
- com.microsoft.rest.interceptors.RequestIdHeaderInterceptor
-
- All Implemented Interfaces:
okhttp3.Interceptor
public final class RequestIdHeaderInterceptor extends Object implements okhttp3.Interceptor
An instance of this class puts an UUID in the request header. Azure uses the request id as the unique identifier for
-
-
Constructor Summary
Constructors Constructor Description RequestIdHeaderInterceptor()
-
-
-
Method Detail
-
intercept
public okhttp3.Response intercept(okhttp3.Interceptor.Chain chain) throws IOException- Specified by:
interceptin interfaceokhttp3.Interceptor- Throws:
IOException
-
-