Class ErrorConverter
java.lang.Object
io.vertx.mutiny.ext.web.client.predicate.ErrorConverter
- All Implemented Interfaces:
MutinyDelegate
Deprecated.
Converts a
ResponsePredicateResult
to a Throwable
describing the error.
NOTE: This class has been automatically generated from the original
non Mutiny-ified interface using Vert.x codegen.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final TypeArg<ErrorConverter>
Deprecated.static final ErrorConverter
Deprecated. -
Constructor Summary
ConstructorsConstructorDescriptionErrorConverter
(io.vertx.ext.web.client.predicate.ErrorConverter delegate) Deprecated.ErrorConverter
(Object delegate) Deprecated. -
Method Summary
Modifier and TypeMethodDescriptionapply
(ResponsePredicateResult result) Deprecated.static ErrorConverter
create
(Function<ResponsePredicateResult, Throwable> converter) Deprecated.static ErrorConverter
createFullBody
(Function<ResponsePredicateResult, Throwable> converter) Deprecated.boolean
Deprecated.io.vertx.ext.web.client.predicate.ErrorConverter
Deprecated.int
hashCode()
Deprecated.static ErrorConverter
newInstance
(io.vertx.ext.web.client.predicate.ErrorConverter arg) Deprecated.boolean
Deprecated.toString()
Deprecated.
-
Field Details
-
__TYPE_ARG
Deprecated. -
DEFAULT_CONVERTER
Deprecated.
-
-
Constructor Details
-
ErrorConverter
public ErrorConverter(io.vertx.ext.web.client.predicate.ErrorConverter delegate) Deprecated. -
ErrorConverter
Deprecated.
-
-
Method Details
-
getDelegate
public io.vertx.ext.web.client.predicate.ErrorConverter getDelegate()Deprecated.- Specified by:
getDelegate
in interfaceMutinyDelegate
- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
Deprecated. -
equals
Deprecated. -
hashCode
public int hashCode()Deprecated. -
create
@Deprecated public static ErrorConverter create(Function<ResponsePredicateResult, Throwable> converter) Deprecated.- Parameters:
converter
- a function creating aThrowable
from aResponsePredicateResult
- Returns:
-
createFullBody
@Deprecated public static ErrorConverter createFullBody(Function<ResponsePredicateResult, Throwable> converter) Deprecated.- Parameters:
converter
- a function creating aThrowable
from aResponsePredicateResult
- Returns:
-
apply
Deprecated. -
requiresBody
Deprecated.- Returns:
true
when the converter wants to process the request body.
-
newInstance
Deprecated.
-