Package com.gooddata.sdk.service
Class ResponseMissingRequestIdInterceptor
- java.lang.Object
-
- com.gooddata.sdk.service.ResponseMissingRequestIdInterceptor
-
- All Implemented Interfaces:
org.apache.http.HttpResponseInterceptor
@Contract(threading=IMMUTABLE) public class ResponseMissingRequestIdInterceptor extends java.lang.Object implements org.apache.http.HttpResponseInterceptorIntercepts responses to check if they have set the X-GDC-REQUEST header for easier debugging. If not, it takes this header from the request sent.
-
-
Constructor Summary
Constructors Constructor Description ResponseMissingRequestIdInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprocess(org.apache.http.HttpResponse response, org.apache.http.protocol.HttpContext context)
-
-
-
Method Detail
-
process
public void process(org.apache.http.HttpResponse response, org.apache.http.protocol.HttpContext context) throws org.apache.http.HttpException, java.io.IOException- Specified by:
processin interfaceorg.apache.http.HttpResponseInterceptor- Throws:
org.apache.http.HttpExceptionjava.io.IOException
-
-