Package com.networknt.rpc.router
Class JsonHandler
- java.lang.Object
-
- com.networknt.rpc.router.AbstractRpcHandler
-
- com.networknt.rpc.router.JsonHandler
-
- All Implemented Interfaces:
com.networknt.handler.LightHttpHandler,io.undertow.server.HttpHandler
public class JsonHandler extends AbstractRpcHandler
This is the entry handler for json api, it will parse the JSON request body and construct service id and then calls the service handler to get the final response. Created by steve on 19/02/17.
-
-
Field Summary
-
Fields inherited from class com.networknt.rpc.router.AbstractRpcHandler
schema
-
-
Constructor Summary
Constructors Constructor Description JsonHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleRequest(io.undertow.server.HttpServerExchange exchange)-
Methods inherited from class com.networknt.rpc.router.AbstractRpcHandler
getServiceId, isVerifyJwt
-
-