vertx-kuickstart-core / dev.fuelyour.vertxkuickstartcore.tools

Package dev.fuelyour.vertxkuickstartcore.tools

Types

ControllerSupplier

interface ControllerSupplier

DatabaseAccess

Establishes a connection to the database specified in the config, and maintains a connection pool to that database.

class DatabaseAccess

Deserializer

Auto deserialize json to the type given.

interface Deserializer

DeserializerImpl

class DeserializerImpl : Deserializer

Field

data class Field<T>

FullParameter

Gets and stores additional information about parameters so that the additional information is easily accessible when needed.

class FullParameter

FullType

class FullType<T>

JwtAuthHelper

Verifies authentication according to information specified in the swagger doc.

class JwtAuthHelper : SwaggerAuthHandler

PositionalSql

data class PositionalSql

PreparedPositionalSql

data class PreparedPositionalSql

Roles

typealias Roles = Map<String, List<String>>

RouteHandlers

typealias RouteHandlers = List<Handler<RoutingContext>>

Serializer

Auto serialize objects to json

interface Serializer

SerializerImpl

class SerializerImpl : Serializer

SwaggerAuthHandler

interface SwaggerAuthHandler

SwaggerMerger

Merge multiple swagger documents into one. This allows swagger documents to be broken down into manageable pieces, and merged back together for final documentation generation.

object SwaggerMerger

SwaggerRoute

data class SwaggerRoute

SwaggerRouteBuilder

class SwaggerRouteBuilder

SwaggerRouter

Authenticate requests and route to appropriate controllers and functions based off of specification in the swagger doc.

class SwaggerRouter

SwaggerServiceHandler

Builds out service handlers for routing to the controllers

class SwaggerServiceHandler : Serializer, Deserializer

SwaggerTraverser

class SwaggerTraverser

TypeWrapper

open class TypeWrapper<T>

Extensions for External Classes

io.vertx.core.json.JsonArray

io.vertx.core.json.JsonObject

kotlin.reflect.KFunction

Functions

applyPatch

Helper function for combining an object and a patch, such that patch fields override the fields in the object if they are present, otherwise the fields from the object come through. Note that the object and patch remain unchanged,and a new object is created and returned.

fun <T : Any> T.applyPatch(patch: Any): T

preparePositional

fun preparePositional(sql: String, paramNames: Set<String>? = null): PreparedPositionalSql

toPositional

fun toPositional(sql: String, params: Map<String, Any?>): PositionalSql

type

Get the type of the class

fun <T> type(): FullType<T>fun <T> type(typeWrapperClass: Class<out TypeWrapper<T>>): FullType<T>