All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy