Home

hexagon_core / com.hexagonkt.http / Route

Route

data class Route

Constructors

Name Summary
<init> Route(path:Path, vararg methods:Method)
Route(path:String, vararg methods:Method)
Route(path:Path, methods:LinkedHashSet<Method>, requestType:KClass<*>? = null, responseType:KClass<*>? = null, metadata:Map<String, *> = emptyMap<String, Any>())

Properties

Name Summary
metadata val metadata:Map<String, *>
methods val methods:LinkedHashSet<Method>
path val path:Path
requestType val requestType:KClass<*>?
responseType val responseType:KClass<*>?

Functions

Name Summary
list fun list():List<Route>