Class InvocationIdInterceptor
java.lang.Object
com.google.cloud.hadoop.util.interceptors.InvocationIdInterceptor
- All Implemented Interfaces:
com.google.api.client.http.HttpExecuteInterceptor
public final class InvocationIdInterceptor
extends Object
implements com.google.api.client.http.HttpExecuteInterceptor
HTTP request interceptor to attach unique identifier i.e. invocationId to each new request and
make sure to pass in the same identifier if request is retried.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionInvocationIdInterceptor(com.google.api.client.http.HttpExecuteInterceptor interceptor, RequestTracker tracker) -
Method Summary
-
Field Details
-
GCCL_INVOCATION_ID_PREFIX
- See Also:
-
GOOG_API_CLIENT
- See Also:
-
-
Constructor Details
-
InvocationIdInterceptor
public InvocationIdInterceptor(com.google.api.client.http.HttpExecuteInterceptor interceptor, RequestTracker tracker)
-
-
Method Details
-
intercept
- Specified by:
interceptin interfacecom.google.api.client.http.HttpExecuteInterceptor- Throws:
IOException
-