RequestValidationHandlerFilter

class RequestValidationHandlerFilter(method: Method, methodHasPathParam: Boolean) : Filter, HttpHandlerExtensions

RequestValidationHandlerFilter class is a filter class that validates the request based on the method and path specified in the Mapping annotation. If the request method or path does not match the Mapping annotation, then it sends the appropriate response to the client.

Constructors

Link copied to clipboard
constructor(method: Method, methodHasPathParam: Boolean)

Creates a RequestValidationHandlerFilter.

Functions

Link copied to clipboard
open override fun description(): String
Link copied to clipboard
open override fun doFilter(exchange: HttpExchange?, chain: Filter.Chain?)
Link copied to clipboard
open fun String.jsonToObject(typeName: String): Any
Link copied to clipboard
open infix fun String.parseTo(typeForParse: String): Any?
Link copied to clipboard
open fun HttpExchange.send(json: Json<Any>)
Link copied to clipboard
Link copied to clipboard