-
- All Known Implementing Classes:
AbstractHttpServer
,AbstractWarpServer
,AbstractWsServer
,WebServer
public interface HttpServer
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
didBecome(IpSocket socket)
void
didConnect()
void
didDisconnect()
void
didFail(Throwable error)
void
didRequest(HttpRequest<?> request)
void
didRespond(HttpResponse<?> response)
void
didSecure()
void
didTimeout()
HttpResponder<?>
doRequest(HttpRequest<?> request)
HttpServerContext
httpServerContext()
long
idleTimeout()
void
setHttpServerContext(HttpServerContext context)
void
willBecome(IpSocket socket)
void
willRequest(HttpRequest<?> request)
void
willRespond(HttpResponse<?> response)
void
willSecure()
-
-
-
Method Detail
-
httpServerContext
HttpServerContext httpServerContext()
-
setHttpServerContext
void setHttpServerContext(HttpServerContext context)
-
idleTimeout
long idleTimeout()
-
doRequest
HttpResponder<?> doRequest(HttpRequest<?> request)
-
willRequest
void willRequest(HttpRequest<?> request)
-
didRequest
void didRequest(HttpRequest<?> request)
-
willRespond
void willRespond(HttpResponse<?> response)
-
didRespond
void didRespond(HttpResponse<?> response)
-
didConnect
void didConnect()
-
willSecure
void willSecure()
-
didSecure
void didSecure()
-
willBecome
void willBecome(IpSocket socket)
-
didBecome
void didBecome(IpSocket socket)
-
didTimeout
void didTimeout()
-
didDisconnect
void didDisconnect()
-
didFail
void didFail(Throwable error)
-
-