Package io.vertx.core.net.endpoint
Interface ServerInteraction
-
@Unstable public interface ServerInteractionRequest interaction with an endpoint, mostly callbacks to gather statistics.- Author:
- Julien Viet
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidreportFailure(Throwable failure)Report a failure.voidreportRequestBegin()The request has begun.voidreportRequestEnd()The request has ended.voidreportResponseBegin()The response has begun.voidreportResponseEnd()The request has ended.
-
-
-
Method Detail
-
reportFailure
void reportFailure(Throwable failure)
Report a failure.- Parameters:
failure- the failure to report
-
reportRequestBegin
void reportRequestBegin()
The request has begun.
-
reportRequestEnd
void reportRequestEnd()
The request has ended.
-
reportResponseBegin
void reportResponseBegin()
The response has begun.
-
reportResponseEnd
void reportResponseEnd()
The request has ended.
-
-