public abstract class AbstractCallbackNotifier<T> extends Object implements Callable<Void>
Modifier and Type | Field and Description |
---|---|
protected javax.ws.rs.client.Invocation.Builder |
requestBuilder |
Modifier | Constructor and Description |
---|---|
protected |
AbstractCallbackNotifier(ResponseStreamProcessor<T> responseStreamProcessor,
ResultCallback<T> resultCallback,
javax.ws.rs.client.Invocation.Builder requestBuilder) |
Modifier and Type | Method and Description |
---|---|
Void |
call() |
protected abstract javax.ws.rs.core.Response |
response() |
static <T> Future<Void> |
startAsyncProcessing(AbstractCallbackNotifier<T> callbackNotifier) |
protected AbstractCallbackNotifier(ResponseStreamProcessor<T> responseStreamProcessor, ResultCallback<T> resultCallback, javax.ws.rs.client.Invocation.Builder requestBuilder)
protected abstract javax.ws.rs.core.Response response()
public static <T> Future<Void> startAsyncProcessing(AbstractCallbackNotifier<T> callbackNotifier)
Copyright © 2016. All Rights Reserved.