Class WebApiProxyHandlerGen
- java.lang.Object
-
- io.vertx.codegen.processor.Generator<ProxyModel>
-
- io.vertx.serviceproxy.generator.ServiceProxyHandlerGen
-
- io.vertx.ext.web.api.service.generator.WebApiProxyHandlerGen
-
public class WebApiProxyHandlerGen extends ServiceProxyHandlerGen
-
-
Field Summary
-
Fields inherited from class io.vertx.serviceproxy.generator.ServiceProxyHandlerGen
numericMapping, utils
-
-
Constructor Summary
Constructors Constructor Description WebApiProxyHandlerGen(GeneratorUtils utils)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.stream.Stream<String>
additionalImports()
Collection<Class<? extends Annotation>>
annotations()
String
className(ProxyModel model)
void
generateActionSwitchEntry(ProxyMethodInfo m, io.vertx.codegen.processor.writer.CodeWriter writer)
void
generateAdditionalMethods(ProxyModel model, io.vertx.codegen.processor.writer.CodeWriter writer)
String
generateJsonParamExtractFromContext(io.vertx.codegen.processor.ParamInfo param)
-
Methods inherited from class io.vertx.serviceproxy.generator.ServiceProxyHandlerGen
filename, generateHandler, generateJsonParamExtract, render
-
-
-
-
Constructor Detail
-
WebApiProxyHandlerGen
public WebApiProxyHandlerGen(GeneratorUtils utils)
-
-
Method Detail
-
annotations
public Collection<Class<? extends Annotation>> annotations()
- Overrides:
annotations
in classServiceProxyHandlerGen
-
className
public String className(ProxyModel model)
- Overrides:
className
in classServiceProxyHandlerGen
-
additionalImports
public java.util.stream.Stream<String> additionalImports()
- Overrides:
additionalImports
in classServiceProxyHandlerGen
-
generateAdditionalMethods
public void generateAdditionalMethods(ProxyModel model, io.vertx.codegen.processor.writer.CodeWriter writer)
- Overrides:
generateAdditionalMethods
in classServiceProxyHandlerGen
-
generateActionSwitchEntry
public void generateActionSwitchEntry(ProxyMethodInfo m, io.vertx.codegen.processor.writer.CodeWriter writer)
- Overrides:
generateActionSwitchEntry
in classServiceProxyHandlerGen
-
generateJsonParamExtractFromContext
public String generateJsonParamExtractFromContext(io.vertx.codegen.processor.ParamInfo param)
-
-