Class ServerInteraction

java.lang.Object
io.vertx.mutiny.core.net.endpoint.ServerInteraction
All Implemented Interfaces:
MutinyDelegate

public class ServerInteraction extends Object implements MutinyDelegate
Request interaction with an endpoint, mostly callbacks to gather statistics.

NOTE: This class has been automatically generated from the original non Mutiny-ified interface.

Author:
Julien Viet
See Also:
  • ServerInteraction
  • Field Details

  • Constructor Details

    • ServerInteraction

      public ServerInteraction(io.vertx.core.net.endpoint.ServerInteraction delegate)
      Create a new instance of ServerInteraction delegating to the given (non-null) instance of ServerInteraction.
    • ServerInteraction

      public ServerInteraction(Object delegate)
  • Method Details

    • getDelegate

      public io.vertx.core.net.endpoint.ServerInteraction getDelegate()
      Get the delegate instance.

      This method returns the instance on which this shim is delegating the calls. And so, give you access to the bare API.

      Specified by:
      getDelegate in interface MutinyDelegate
      Returns:
      the delegate instance
    • reportFailure

      public void reportFailure(Throwable failure)
      Report a failure.
      Parameters:
      failure - the failure to report
    • reportRequestBegin

      public void reportRequestBegin()
      The request has begun.
    • reportRequestEnd

      public void reportRequestEnd()
      The request has ended.
    • reportResponseBegin

      public void reportResponseBegin()
      The response has begun.
    • reportResponseEnd

      public void reportResponseEnd()
      The request has ended.
    • newInstance

      public static ServerInteraction newInstance(io.vertx.core.net.endpoint.ServerInteraction delegate)
      Creates a new instance of the ServerInteraction.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object