Interface HttpHandler
-
- All Implemented Interfaces:
-
com.hexagonkt.handlers.async.Handler
public interface HttpHandler implements Handler<HttpCall>
-
-
Method Summary
Modifier and Type Method Description abstract HttpHandleraddPrefix(String prefix)Map<HttpMethod, HttpHandler>byMethod()HttpHandlerfilter(HttpMethod method)CompletableFuture<HttpContext>process(HttpRequestPort request)abstract HttpPredicategetHandlerPredicate()-
-
Method Detail
-
addPrefix
abstract HttpHandler addPrefix(String prefix)
-
byMethod
Map<HttpMethod, HttpHandler> byMethod()
-
filter
HttpHandler filter(HttpMethod method)
-
process
CompletableFuture<HttpContext> process(HttpRequestPort request)
-
getHandlerPredicate
abstract HttpPredicate getHandlerPredicate()
-
-
-
-