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 ErrorConvertercreate(Function<ResponsePredicateResult, Throwable> converter) Deprecated.static ErrorConvertercreateFullBody(Function<ResponsePredicateResult, Throwable> converter) Deprecated.booleanio.vertx.ext.web.client.predicate.ErrorConverterinthashCode()static ErrorConverternewInstance(io.vertx.ext.web.client.predicate.ErrorConverter arg) booleanDeprecated.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:
getDelegatein 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 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
-