com.github.dockerjava.jaxrs.async.GETCallbackNotifier Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of org.apache.servicemix.bundles.docker-java
Show all versions of org.apache.servicemix.bundles.docker-java
This OSGi bundle wraps ${pkgArtifactId} ${pkgVersion} jar file.
/*
* Created on 23.06.2015
*/
package com.github.dockerjava.jaxrs.async;
import javax.ws.rs.client.Invocation.Builder;
import javax.ws.rs.core.Response;
import com.github.dockerjava.api.async.ResultCallback;
import com.github.dockerjava.core.async.ResponseStreamProcessor;
/**
*
* @author Marcus Linke
*
*/
public class GETCallbackNotifier extends AbstractCallbackNotifier {
public GETCallbackNotifier(ResponseStreamProcessor responseStreamProcessor, ResultCallback resultCallback,
Builder requestBuilder) {
super(responseStreamProcessor, resultCallback, requestBuilder);
}
protected Response response() {
return requestBuilder.get(Response.class);
}
}