Class 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.
    • Constructor Detail

      • JsonHandler

        public JsonHandler()
    • Method Detail

      • handleRequest

        public void handleRequest​(io.undertow.server.HttpServerExchange exchange)
                           throws Exception
        Throws:
        Exception