tock / ai.tock.shared.vertx / ImageGeneratorHandler

# ImageGeneratorHandler

`class ImageGeneratorHandler<T : Any> : Handler<RoutingContext>` (source)

Provides a service that generates image using imageGenerator specified by paramExtractor.

### Constructors

#### <init> | Provides a service that generates image using imageGenerator specified by paramExtractor. `ImageGeneratorHandler(imageGenerator: ImageGenerator<T>, paramExtractor: ImageParametersExtractor<T>, executor: Executor = injector.provide())`

### Functions

#### handle | `fun handle(context: RoutingContext): Unit`