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

dev.resteasy.jetty.client.engine.JettyClientResponse Maven / Gradle / Ivy

The newest version!
package dev.resteasy.jetty.client.engine;

import java.io.InputStream;

import org.jboss.resteasy.client.jaxrs.internal.ClientConfiguration;
import org.jboss.resteasy.client.jaxrs.internal.ClientResponse;
import org.jboss.resteasy.tracing.RESTEasyTracingLogger;

class JettyClientResponse extends ClientResponse {

    JettyClientResponse(final ClientConfiguration configuration, final InputStream stream) {
        super(configuration, RESTEasyTracingLogger.empty());
        setInputStream(stream);
    }

    @Override
    protected void setInputStream(final InputStream is) {
        this.is = is;
        resetEntity();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy