public abstract class TypeDefaultJsonRpcHandler extends DefaultJsonRpcHandler<com.google.gson.JsonObject>
| Constructor and Description |
|---|
TypeDefaultJsonRpcHandler() |
| Modifier and Type | Method and Description |
|---|---|
void |
handleRequest(Transaction transaction,
Request<com.google.gson.JsonObject> request)
Invoked when a new JsonRpc request arrives.
|
afterConnectionClosed, afterConnectionEstablished, allowedOrigins, getHandlerType, getLabel, handleTransportError, handleUncaughtException, isPingWatchdog, isSockJSEnabled, withAllowedOrigins, withLabel, withPingWatchdog, withSockJSpublic void handleRequest(Transaction transaction, Request<com.google.gson.JsonObject> request) throws Exception
JsonRpcHandlertransaction - the transaction to which the request belongsrequest - the requestTransportException - when there is an error in the transport mechanismException - this method can handle or propagate exceptions.Copyright © 2017 Kurento. All rights reserved.