FollowRedirects

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
fun Events.and(next: Events): Events
Link copied to clipboard
fun (Request) -> Boolean.asRouter(name: String = ""): Router
Link copied to clipboard
Link copied to clipboard
fun HttpHandler.debug(out: PrintStream = System.out, debugStream: Boolean = false): (request: Request) -> Response
Link copied to clipboard
Link copied to clipboard
open operator override fun invoke(next: HttpHandler): HttpHandler
Link copied to clipboard

This filter requires special treatment for routing handlers.

Link copied to clipboard
Link copied to clipboard
fun Filter.thenIf(predicate: (Request) -> Boolean, filter: Filter): Filter
Link copied to clipboard
fun Filter.thenIfNot(predicate: (Request) -> Boolean, filter: Filter): Filter
Link copied to clipboard

Convert a synchronous HttpHandler API to mimic AsyncHttpClient