Interface ServerInteraction
@Unstable
public interface ServerInteraction
Request interaction with an endpoint, mostly callbacks to gather statistics.
- Author:
- Julien Viet
-
Method Summary
Modifier and TypeMethodDescriptionvoidreportFailure(Throwable failure) Report a failure.voidThe request has begun.voidThe request has ended.voidThe response has begun.voidThe request has ended.
-
Method Details
-
reportFailure
-
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.
-