public class AsyncResponses extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
AsyncResponses() |
| Modifier and Type | Method and Description |
|---|---|
static <ResponseType> |
addCallbackForListenableFuture(javax.ws.rs.container.AsyncResponse asyncResponse,
com.google.common.util.concurrent.ListenableFuture<ResponseType> future) |
static void |
addCompletionCallback(javax.ws.rs.container.AsyncResponse asyncResponse) |
static void |
addTimeoutHandler(javax.ws.rs.container.AsyncResponse asyncResponse,
long timeout,
TimeUnit timeUnit) |
public static void addTimeoutHandler(javax.ws.rs.container.AsyncResponse asyncResponse,
long timeout,
TimeUnit timeUnit)
public static void addCompletionCallback(javax.ws.rs.container.AsyncResponse asyncResponse)
public static <ResponseType> void addCallbackForListenableFuture(javax.ws.rs.container.AsyncResponse asyncResponse,
com.google.common.util.concurrent.ListenableFuture<ResponseType> future)
Copyright © 2015. All rights reserved.