StaticRoutingHttpHandler
data class StaticRoutingHttpHandler(pathSegments: String, resourceLoader: ResourceLoader, extraFileExtensionToContentTypes: Map<String, ContentType>, filter: Filter = Filter.NoOp) : RoutingHttpHandler
Constructors
Link copied to clipboard
constructor(pathSegments: String, resourceLoader: ResourceLoader, extraFileExtensionToContentTypes: Map<String, ContentType>, filter: Filter = Filter.NoOp)
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun HttpHandler.debug(out: PrintStream = System.out, debugStream: Boolean = false): (request: Request) -> Response
fun RoutingHttpHandler.debug(out: PrintStream = System.out, debugStream: Boolean = false): RoutingHttpHandler
Link copied to clipboard
Attempt to supply an HttpHandler which can service the passed request.
Link copied to clipboard
Convert a synchronous HttpHandler API to mimic AsyncHttpClient
Link copied to clipboard
Returns a Router which prepends the passed base path to the logic determining the match().
Link copied to clipboard
Returns a Router which applies the passed Filter to all received requests before servicing them.