Interface ServerInteraction


@Unstable public interface ServerInteraction
Request interaction with an endpoint, mostly callbacks to gather statistics.
Author:
Julien Viet
  • Method Details

    • 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.