-
- All Implemented Interfaces:
-
com.hexagonkt.core.handlers.Handler,com.hexagonkt.http.server.handlers.ServerHandler
public interface HttpHandler implements ServerHandler, Handler<HttpServerCall>
-
-
Method Summary
Modifier and Type Method Description abstract HttpHandleraddPrefix(String prefix)abstract HttpServerPredicategetServerPredicate()abstract Function1<Context<HttpServerCall>, Context<HttpServerCall>>getCallback()abstract Function1<Context<HttpServerCall>, Boolean>getPredicate()-
-
Method Detail
-
addPrefix
abstract HttpHandler addPrefix(String prefix)
-
getServerPredicate
abstract HttpServerPredicate getServerPredicate()
-
getCallback
abstract Function1<Context<HttpServerCall>, Context<HttpServerCall>> getCallback()
-
getPredicate
abstract Function1<Context<HttpServerCall>, Boolean> getPredicate()
-
-
-
-