Package io.vertx.core.net.endpoint
Interface ServerInteraction
-
@Unstable public interface ServerInteraction
Request 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 void
reportFailure(Throwable failure)
Report a failure.void
reportRequestBegin()
The request has begun.void
reportRequestEnd()
The request has ended.void
reportResponseBegin()
The response has begun.void
reportResponseEnd()
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.
-
-