-
- 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)HttpServerResponseprocess(HttpServerRequestPort request)HttpServerResponseprocess(HttpMethod method, HttpProtocol protocol, String host, Integer port, String path, HttpFields<QueryParameter> queryParameters, HttpFields<Header> headers, Object body, List<HttpPart> parts, HttpFields<FormParameter> formParameters, List<HttpCookie> cookies, ContentType contentType, List<X509Certificate> certificateChain, List<ContentType> accept, Long contentLength)abstract HttpServerPredicategetServerPredicate()-
-
Method Detail
-
addPrefix
abstract HttpHandler addPrefix(String prefix)
-
process
HttpServerResponse process(HttpServerRequestPort request)
-
process
HttpServerResponse process(HttpMethod method, HttpProtocol protocol, String host, Integer port, String path, HttpFields<QueryParameter> queryParameters, HttpFields<Header> headers, Object body, List<HttpPart> parts, HttpFields<FormParameter> formParameters, List<HttpCookie> cookies, ContentType contentType, List<X509Certificate> certificateChain, List<ContentType> accept, Long contentLength)
-
getServerPredicate
abstract HttpServerPredicate getServerPredicate()
-
-
-
-