de.gesellix.docker.json.CustomObjectAdapterFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of docker-engine Show documentation
Show all versions of docker-engine Show documentation
Bare HTTP client for the Docker engine api
package de.gesellix.docker.json;
import com.squareup.moshi.JsonAdapter;
import com.squareup.moshi.Moshi;
import java.lang.annotation.Annotation;
import java.lang.reflect.Type;
import java.util.Set;
public class CustomObjectAdapterFactory implements JsonAdapter.Factory {
@Override
public JsonAdapter> create(Type type, Set extends Annotation> annotations, Moshi moshi) {
if (!type.equals(Object.class)) {
return null;
}
JsonAdapter
© 2015 - 2024 Weber Informatics LLC | Privacy Policy