public class NettyInvocationBuilder extends Object implements InvocationBuilder
| Modifier and Type | Class and Description |
|---|---|
class |
NettyInvocationBuilder.ResponseCallback<T> |
class |
NettyInvocationBuilder.SkipResultCallback |
InvocationBuilder.AsyncResultCallback<A_RES_T>| Constructor and Description |
|---|
NettyInvocationBuilder(ChannelProvider channelProvider,
String resource)
Deprecated.
|
NettyInvocationBuilder(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
ChannelProvider channelProvider,
String resource) |
| Modifier and Type | Method and Description |
|---|---|
InvocationBuilder |
accept(MediaType mediaType) |
void |
delete() |
InputStream |
get() |
void |
get(com.github.dockerjava.api.async.ResultCallback<com.github.dockerjava.api.model.Frame> resultCallback) |
<T> T |
get(com.fasterxml.jackson.core.type.TypeReference<T> typeReference) |
<T> void |
get(com.fasterxml.jackson.core.type.TypeReference<T> typeReference,
com.github.dockerjava.api.async.ResultCallback<T> resultCallback) |
NettyInvocationBuilder |
header(String name,
String value) |
InputStream |
post(Object entity) |
void |
post(Object entity,
InputStream stdin,
com.github.dockerjava.api.async.ResultCallback<com.github.dockerjava.api.model.Frame> resultCallback) |
<T> T |
post(Object entity,
com.fasterxml.jackson.core.type.TypeReference<T> typeReference) |
<T> void |
post(Object entity,
com.fasterxml.jackson.core.type.TypeReference<T> typeReference,
com.github.dockerjava.api.async.ResultCallback<T> resultCallback) |
<T> T |
post(com.fasterxml.jackson.core.type.TypeReference<T> typeReference,
InputStream body) |
<T> void |
post(com.fasterxml.jackson.core.type.TypeReference<T> typeReference,
com.github.dockerjava.api.async.ResultCallback<T> resultCallback,
InputStream body) |
void |
postStream(InputStream body) |
void |
put(InputStream body,
MediaType mediaType) |
@Deprecated public NettyInvocationBuilder(ChannelProvider channelProvider, String resource)
public NettyInvocationBuilder(com.fasterxml.jackson.databind.ObjectMapper objectMapper,
ChannelProvider channelProvider,
String resource)
public InvocationBuilder accept(MediaType mediaType)
accept in interface InvocationBuilderpublic NettyInvocationBuilder header(String name, String value)
header in interface InvocationBuilderpublic void delete()
delete in interface InvocationBuilderpublic void get(com.github.dockerjava.api.async.ResultCallback<com.github.dockerjava.api.model.Frame> resultCallback)
get in interface InvocationBuilderpublic <T> T get(com.fasterxml.jackson.core.type.TypeReference<T> typeReference)
get in interface InvocationBuilderpublic <T> void get(com.fasterxml.jackson.core.type.TypeReference<T> typeReference,
com.github.dockerjava.api.async.ResultCallback<T> resultCallback)
get in interface InvocationBuilderpublic InputStream post(Object entity)
post in interface InvocationBuilderpublic void post(Object entity, InputStream stdin, com.github.dockerjava.api.async.ResultCallback<com.github.dockerjava.api.model.Frame> resultCallback)
post in interface InvocationBuilderpublic <T> T post(Object entity, com.fasterxml.jackson.core.type.TypeReference<T> typeReference)
post in interface InvocationBuilderpublic <T> void post(Object entity, com.fasterxml.jackson.core.type.TypeReference<T> typeReference, com.github.dockerjava.api.async.ResultCallback<T> resultCallback)
post in interface InvocationBuilderpublic <T> T post(com.fasterxml.jackson.core.type.TypeReference<T> typeReference,
InputStream body)
post in interface InvocationBuilderpublic <T> void post(com.fasterxml.jackson.core.type.TypeReference<T> typeReference,
com.github.dockerjava.api.async.ResultCallback<T> resultCallback,
InputStream body)
post in interface InvocationBuilderpublic void postStream(InputStream body)
postStream in interface InvocationBuilderpublic InputStream get()
get in interface InvocationBuilderpublic void put(InputStream body, MediaType mediaType)
put in interface InvocationBuilderCopyright © 2022. All rights reserved.