public abstract class BaseService extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
REGISTRY_AUTH_HEADER |
| Constructor and Description |
|---|
BaseService(String dockerApiRoot,
String endPointPath) |
| Modifier and Type | Method and Description |
|---|---|
protected static void |
checkImageTargetingResponse(String id,
javax.ws.rs.core.Response.StatusType statusInfo) |
protected String |
getRegistryAuthHeaderValue() |
protected javax.ws.rs.client.WebTarget |
getServiceEndPoint() |
protected static DockerException |
makeImageTargetingException(String id,
javax.ws.rs.WebApplicationException cause) |
void |
setCredentials(Credentials credentials) |
protected String |
toJson(Object obj) |
protected <T> T |
toObject(String json,
Class<T> clazz) |
public static final String REGISTRY_AUTH_HEADER
public void setCredentials(Credentials credentials)
protected javax.ws.rs.client.WebTarget getServiceEndPoint()
protected String getRegistryAuthHeaderValue()
protected static void checkImageTargetingResponse(String id, javax.ws.rs.core.Response.StatusType statusInfo)
protected static DockerException makeImageTargetingException(String id, javax.ws.rs.WebApplicationException cause)
Copyright © 2016. All Rights Reserved.