Package com.hexagonkt.http.handlers
Interface HttpHandler
-
- All Implemented Interfaces:
-
com.hexagonkt.handlers.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)HttpContextprocess(HttpRequestPort request)abstract HttpPredicategetHandlerPredicate()-
-
Method Detail
-
addPrefix
abstract HttpHandler addPrefix(String prefix)
-
byMethod
Map<HttpMethod, HttpHandler> byMethod()
-
filter
HttpHandler filter(HttpMethod method)
-
process
HttpContext process(HttpRequestPort request)
-
getHandlerPredicate
abstract HttpPredicate getHandlerPredicate()
-
-
-
-