Class ErrorConverter
java.lang.Object
io.vertx.mutiny.ext.web.client.predicate.ErrorConverter
- All Implemented Interfaces:
MutinyDelegate
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>
static final ErrorConverter
-
Constructor Summary
ConstructorsConstructorDescriptionErrorConverter
(io.vertx.ext.web.client.predicate.ErrorConverter delegate) ErrorConverter
(Object delegate) -
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
io.vertx.ext.web.client.predicate.ErrorConverter
int
hashCode()
static ErrorConverter
newInstance
(io.vertx.ext.web.client.predicate.ErrorConverter arg) boolean
Deprecated.toString()
-
Field Details
-
__TYPE_ARG
-
DEFAULT_CONVERTER
-
-
Constructor Details
-
ErrorConverter
public ErrorConverter(io.vertx.ext.web.client.predicate.ErrorConverter delegate) -
ErrorConverter
-
-
Method Details
-
getDelegate
public io.vertx.ext.web.client.predicate.ErrorConverter getDelegate()- Specified by:
getDelegate
in interfaceMutinyDelegate
- Returns:
- the delegate used by this Mutiny object of generated type
-
toString
-
equals
-
hashCode
public int hashCode() -
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
-