Class 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 Detail

      • RequestIdHeaderInterceptor

        public RequestIdHeaderInterceptor()
    • Method Detail

      • intercept

        public okhttp3.Response intercept​(okhttp3.Interceptor.Chain chain)
                                   throws IOException
        Specified by:
        intercept in interface okhttp3.Interceptor
        Throws:
        IOException