Classpath

class Classpath(basePackagePath: String = "/", mimeTypes: MimeTypes = MimeTypes(), constantLastModified: Instant? = Instant.now().truncatedTo(SECONDS), lastModifiedFinder: (path: String) -> Instant? = { constantLastModified }) : RouteMatcher<Response, Filter>

Constructors

Link copied to clipboard
constructor(basePackagePath: String = "/", mimeTypes: MimeTypes = MimeTypes(), constantLastModified: Instant? = Instant.now().truncatedTo(SECONDS), lastModifiedFinder: (path: String) -> Instant? = { constantLastModified })

Functions

Link copied to clipboard
open override fun match(request: Request): RoutingMatch<Response>
Link copied to clipboard
open override fun withBasePath(prefix: String): RouteMatcher<Response, Filter>
Link copied to clipboard
open override fun withFilter(new: Filter): RouteMatcher<Response, Filter>
Link copied to clipboard
open override fun withRouter(other: Router): RouteMatcher<Response, Filter>