Package com.networknt.codegen.handler
Class CodegenMultipleHandler
- java.lang.Object
-
- com.networknt.codegen.handler.CodegenMultipleHandler
-
- All Implemented Interfaces:
com.networknt.rpc.Handler
public class CodegenMultipleHandler extends Object implements com.networknt.rpc.Handler
This is the handler that does the code generation for consumer request with multiple projects. It is used to generate a folder with more than one project. For example, generate query side and command side projects for CQRS.- Author:
- Steve Hu
-
-
Constructor Summary
Constructors Constructor Description CodegenMultipleHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ByteBufferhandle(io.undertow.server.HttpServerExchange exchange, Object input)ByteBuffervalidate(String serviceId, Object object)
-
-
-
Method Detail
-
handle
public ByteBuffer handle(io.undertow.server.HttpServerExchange exchange, Object input)
- Specified by:
handlein interfacecom.networknt.rpc.Handler
-
validate
public ByteBuffer validate(String serviceId, Object object)
- Specified by:
validatein interfacecom.networknt.rpc.Handler
-
-