public static interface CallManager.CallableEndpoint extends CallManager.EndpointDefiner
Modifier and Type | Method and Description |
---|---|
<R> CallManager.ManyCaller<R> |
returningMany(java.lang.Class<R> as)
Creates a caller to an endpoint that returns multiple values.
|
CallManager.NoneCaller |
returningNone()
Creates a caller to an endpoint that doesn't return values.
|
<R> CallManager.OneCaller<R> |
returningOne(java.lang.Class<R> as)
Creates a caller to an endpoint that returns at most one value.
|
args, args, getEndpointPath, getParamdefs, getReturndef, isSessionRequired
CallManager.NoneCaller returningNone()
<R> CallManager.OneCaller<R> returningOne(java.lang.Class<R> as)
R
- the type of the returned value such as Stringas
- the class for the type of the returned value such as String.class<R> CallManager.ManyCaller<R> returningMany(java.lang.Class<R> as)
R
- the type of the returned value such as Stringas
- the class for the type of the returned values such as String.classCopyright © 2013-2018 MarkLogic Corporation.