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 ErrorConverterDeprecated. -
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 ErrorConvertercreate(Function<ResponsePredicateResult, Throwable> converter) Deprecated.static ErrorConvertercreateFullBody(Function<ResponsePredicateResult, Throwable> converter) Deprecated.booleanDeprecated.io.vertx.ext.web.client.predicate.ErrorConverterDeprecated.inthashCode()Deprecated.static ErrorConverternewInstance(io.vertx.ext.web.client.predicate.ErrorConverter arg) Deprecated.booleanDeprecated.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:
getDelegatein 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 aThrowablefrom aResponsePredicateResult- Returns:
-
createFullBody
@Deprecated public static ErrorConverter createFullBody(Function<ResponsePredicateResult, Throwable> converter) Deprecated.- Parameters:
converter- a function creating aThrowablefrom aResponsePredicateResult- Returns:
-
apply
Deprecated. -
requiresBody
Deprecated.- Returns:
truewhen the converter wants to process the request body.
-
newInstance
Deprecated.
-