public class RpcCallHandler extends Object
| Constructor and Description |
|---|
RpcCallHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
executeBulkJSON(IRpcCallContext cb,
String json)
Reads and executes a JSON bulk request.
|
void |
executeSingleCall(IRpcCallContext cb,
IParameterProvider pv,
String callsign,
ResponseFormat formatoverride)
This executes a single call.
|
static <T extends Annotation> |
findAnnotation(Annotation[] annar,
Class<T> clz) |
ResponseFormat |
getDefaultFormat() |
JSONRegistry |
getJSONRegistry() |
XmlRegistry |
getXmlRegistry() |
void |
setDefaultResponseFormat(ResponseFormat rf) |
public void executeSingleCall(IRpcCallContext cb, IParameterProvider pv, String callsign, ResponseFormat formatoverride) throws Exception
Exceptionpublic static <T extends Annotation> T findAnnotation(Annotation[] annar, Class<T> clz)
public void executeBulkJSON(IRpcCallContext cb, String json) throws Exception
json - Exceptionpublic XmlRegistry getXmlRegistry()
public ResponseFormat getDefaultFormat()
public void setDefaultResponseFormat(ResponseFormat rf)
public JSONRegistry getJSONRegistry()
Copyright © 2017 etc.to. All rights reserved.