de.mklinger.qetcher.client.httpclient.internal.jetty.BodyResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of qetcher-client-bundle Show documentation
Show all versions of qetcher-client-bundle Show documentation
Qetcher Java client, OSGi bundle, minimal dependencies
package de.mklinger.commons.httpclient.internal.jetty;
import org.eclipse.jetty.client.api.Result;
/**
* @author Marc Klinger - mklinger[at]mklinger[dot]de
*/
public class BodyResult {
private final Result result;
private final T body;
public BodyResult(final Result result, final T body) {
this.result = result;
this.body = body;
}
public Result getResult() {
return result;
}
public T getBody() {
return body;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy