Class ErrorConverter
- java.lang.Object
-
- io.vertx.reactivex.ext.web.client.predicate.ErrorConverter
-
- All Implemented Interfaces:
RxDelegate
@Deprecated public class ErrorConverter extends Object implements RxDelegate
Deprecated.Converts aResponsePredicateResultto aThrowabledescribing the error. NOTE: This class has been automatically generated from theoriginalnon RX-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<ErrorConverter>__TYPE_ARGDeprecated.static ErrorConverterDEFAULT_CONVERTERDeprecated.
-
Constructor Summary
Constructors Constructor Description ErrorConverter(ErrorConverter delegate)Deprecated.ErrorConverter(Object delegate)Deprecated.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Throwableapply(ResponsePredicateResult result)Deprecated.static ErrorConvertercreate(Function<ResponsePredicateResult,Throwable> converter)Deprecated.static ErrorConvertercreateFullBody(Function<ResponsePredicateResult,Throwable> converter)Deprecated.booleanequals(Object o)Deprecated.ErrorConvertergetDelegate()Deprecated.inthashCode()Deprecated.static ErrorConverternewInstance(ErrorConverter arg)Deprecated.booleanrequiresBody()Deprecated.StringtoString()Deprecated.
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<ErrorConverter> __TYPE_ARG
Deprecated.
-
DEFAULT_CONVERTER
public static final ErrorConverter DEFAULT_CONVERTER
Deprecated.
-
-
Constructor Detail
-
ErrorConverter
public ErrorConverter(ErrorConverter delegate)
Deprecated.
-
ErrorConverter
public ErrorConverter(Object delegate)
Deprecated.
-
-
Method Detail
-
getDelegate
public ErrorConverter getDelegate()
Deprecated.- Specified by:
getDelegatein interfaceRxDelegate
-
create
@Deprecated public static ErrorConverter create(Function<ResponsePredicateResult,Throwable> converter)
Deprecated.Creates a fullErrorConverter, that will passed a predicate result with the response body.The
converterfunction will be invoked after the HTTP response body is received.- Parameters:
converter- a function creating aThrowablefrom aResponsePredicateResult- Returns:
-
createFullBody
@Deprecated public static ErrorConverter createFullBody(Function<ResponsePredicateResult,Throwable> converter)
Deprecated.Creates a fullErrorConverter, that will passed a predicate result with the response body.The
converterfunction will be invoked after the HTTP response body is received.- Parameters:
converter- a function creating aThrowablefrom aResponsePredicateResult- Returns:
-
apply
@Deprecated public Throwable apply(ResponsePredicateResult result)
Deprecated.
-
requiresBody
@Deprecated public boolean requiresBody()
Deprecated.- Returns:
truewhen the converter wants to process the request body.
-
newInstance
public static ErrorConverter newInstance(ErrorConverter arg)
Deprecated.
-
-