public class Obstain<T> extends Object
| Modifier and Type | Field and Description |
|---|---|
protected Class<?> |
clazz |
protected Envelop |
envelop |
protected io.vertx.core.AsyncResult<T> |
handler |
protected io.vertx.up.log.Annal |
logger |
protected Spy<T> |
spy |
| Modifier | Constructor and Description |
|---|---|
protected |
Obstain(Class<?> clazz) |
| Modifier and Type | Method and Description |
|---|---|
Obstain<T> |
connect(io.vertx.core.AsyncResult<T> handler)
Connect to message handler
|
Obstain<T> |
connect(Spy<T> spy)
Connect to spy to process id
|
protected boolean |
isReady() |
static <T> Obstain<T> |
start(Class<?> clazz) |
Envelop |
to()
Build response Envelop object.
|
Obstain<T> |
unique() |
Obstain<T> |
unique(WebException internal404) |
protected final transient Class<?> clazz
protected final transient io.vertx.up.log.Annal logger
protected transient io.vertx.core.AsyncResult<T> handler
protected transient Envelop envelop
protected Obstain(Class<?> clazz)
public Obstain<T> connect(io.vertx.core.AsyncResult<T> handler)
handler - public Obstain<T> connect(Spy<T> spy)
spy - public Obstain<T> unique(WebException internal404)
internal404 - public Envelop to()
protected boolean isReady()
Copyright © 2017. All rights reserved.