Class ServerInteraction
java.lang.Object
io.vertx.mutiny.core.net.endpoint.ServerInteraction
- All Implemented Interfaces:
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 Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionServerInteraction(io.vertx.core.net.endpoint.ServerInteraction delegate) Create a new instance ofServerInteractiondelegating to the given (non-null) instance ofServerInteraction.ServerInteraction(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionbooleanio.vertx.core.net.endpoint.ServerInteractionGet the delegate instance.inthashCode()static ServerInteractionnewInstance(io.vertx.core.net.endpoint.ServerInteraction delegate) Creates a new instance of theServerInteraction.voidreportFailure(Throwable failure) Report a failure.voidThe request has begun.voidThe request has ended.voidThe response has begun.voidThe request has ended.toString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
ServerInteraction
public ServerInteraction(io.vertx.core.net.endpoint.ServerInteraction delegate) Create a new instance ofServerInteractiondelegating to the given (non-null) instance ofServerInteraction. -
ServerInteraction
-
-
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:
getDelegatein interfaceMutinyDelegate- Returns:
- the delegate instance
-
reportFailure
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
Creates a new instance of theServerInteraction. -
hashCode
public int hashCode() -
equals
-
toString
-