com.sumologic.client.util.PassingResponseHandler Maven / Gradle / Ivy
package com.sumologic.client.util;
import org.apache.http.HttpResponse;
import java.io.IOException;
import java.io.InputStream;
public class PassingResponseHandler
implements ResponseHandler {
private Response response;
public PassingResponseHandler(Response response) {
this.response = response;
}
@Override
public Response handle(HttpResponse httpResponse, InputStream httpStream, Request request)
throws IOException {
return response;
}
}