Class ServiceProxyHandlerGen

java.lang.Object
io.vertx.codegen.processor.Generator<ProxyModel>
io.vertx.serviceproxy.generator.ServiceProxyHandlerGen
Direct Known Subclasses:
WebApiProxyHandlerGen

public class ServiceProxyHandlerGen extends io.vertx.codegen.processor.Generator<ProxyModel>
Author:
Francesco Guardiani @slinkydeveloper
  • Field Details

  • Constructor Details

    • ServiceProxyHandlerGen

      public ServiceProxyHandlerGen(GeneratorUtils utils)
  • Method Details

    • annotations

      public Collection<Class<? extends Annotation>> annotations()
      Overrides:
      annotations in class io.vertx.codegen.processor.Generator<ProxyModel>
    • filename

      public String filename(ProxyModel model)
      Overrides:
      filename in class io.vertx.codegen.processor.Generator<ProxyModel>
    • className

      public String className(ProxyModel model)
    • additionalImports

      public Stream<String> additionalImports()
    • render

      public String render(ProxyModel model, int index, int size, Map<String,Object> session)
      Overrides:
      render in class io.vertx.codegen.processor.Generator<ProxyModel>
    • generateActionSwitchEntry

      public void generateActionSwitchEntry(ProxyMethodInfo m, io.vertx.codegen.processor.writer.CodeWriter writer)
    • generateJsonParamExtract

      public String generateJsonParamExtract(io.vertx.codegen.processor.ParamInfo param)
    • generateHandler

      public String generateHandler(io.vertx.codegen.processor.type.TypeInfo typeArg)
    • generateAdditionalMethods

      public void generateAdditionalMethods(ProxyModel model, io.vertx.codegen.processor.writer.CodeWriter writer)