Class FrameworkListHandler

  • All Implemented Interfaces:
    com.networknt.rpc.Handler

    public class FrameworkListHandler
    extends Object
    implements com.networknt.rpc.Handler
    Created by steve on 26/04/17.
    • Constructor Detail

      • FrameworkListHandler

        public FrameworkListHandler()
    • Method Detail

      • handle

        public ByteBuffer handle​(io.undertow.server.HttpServerExchange exchange,
                                 Object input)
        Returns a JSON list of all available frameworks defined in the service.yml of codegen-cli. If any issues occur with converting the result to JSON, an empty string is returned (not an empty json list).
        Specified by:
        handle in interface com.networknt.rpc.Handler