Package com.gooddata
Class ResponseMissingRequestIdInterceptor
- java.lang.Object
-
- com.gooddata.ResponseMissingRequestIdInterceptor
-
- All Implemented Interfaces:
org.apache.http.HttpResponseInterceptor
@Contract(threading=IMMUTABLE) public class ResponseMissingRequestIdInterceptor extends Object implements org.apache.http.HttpResponseInterceptor
Intercepts 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, IOException- Specified by:
processin interfaceorg.apache.http.HttpResponseInterceptor- Throws:
org.apache.http.HttpExceptionIOException
-
-