public class BinderUtils extends Object
| Constructor and Description |
|---|
BinderUtils() |
| Modifier and Type | Method and Description |
|---|---|
static <S,A> void |
bindHttpApi(com.google.inject.Binder binder,
Class<A> api)
adds an explicit binding for
async by parsing its annotations. |
public static <S,A> void bindHttpApi(com.google.inject.Binder binder,
Class<A> api)
async by parsing its annotations.S - sync interface that blocksA - api type with http annotationsbinder - guice binderapi - type with http annotationsCopyright © 2009-2016 The Apache Software Foundation. All Rights Reserved.