Class ErrorConverter
- java.lang.Object
- 
- io.vertx.mutiny.ext.web.client.predicate.ErrorConverter
 
- 
 public class ErrorConverter extends Object Converts aResponsePredicateResultto aThrowabledescribing the error. NOTE: This class has been automatically generated from theoriginalnon Mutiny-ified interface using Vert.x codegen.
- 
- 
Field SummaryFields Modifier and Type Field Description static TypeArg<ErrorConverter>__TYPE_ARGstatic ErrorConverterDEFAULT_CONVERTER
 - 
Constructor SummaryConstructors Constructor Description ErrorConverter(io.vertx.ext.web.client.predicate.ErrorConverter delegate)ErrorConverter(Object delegate)
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Throwableapply(ResponsePredicateResult result)static ErrorConvertercreate(Function<ResponsePredicateResult,Throwable> converter)static ErrorConvertercreateFullBody(Function<ResponsePredicateResult,Throwable> converter)booleanequals(Object o)io.vertx.ext.web.client.predicate.ErrorConvertergetDelegate()inthashCode()static ErrorConverternewInstance(io.vertx.ext.web.client.predicate.ErrorConverter arg)booleanrequiresBody()StringtoString()
 
- 
- 
- 
Field Detail- 
__TYPE_ARGpublic static final TypeArg<ErrorConverter> __TYPE_ARG 
 - 
DEFAULT_CONVERTERpublic static final ErrorConverter DEFAULT_CONVERTER 
 
- 
 - 
Constructor Detail- 
ErrorConverterpublic ErrorConverter(io.vertx.ext.web.client.predicate.ErrorConverter delegate) 
 - 
ErrorConverterpublic ErrorConverter(Object delegate) 
 
- 
 - 
Method Detail- 
getDelegatepublic io.vertx.ext.web.client.predicate.ErrorConverter getDelegate() 
 - 
createpublic static ErrorConverter create(Function<ResponsePredicateResult,Throwable> converter) - Parameters:
- converter- a function creating a- Throwablefrom a- ResponsePredicateResult
- Returns:
 
 - 
createFullBodypublic static ErrorConverter createFullBody(Function<ResponsePredicateResult,Throwable> converter) - Parameters:
- converter- a function creating a- Throwablefrom a- ResponsePredicateResult
- Returns:
 
 - 
applypublic Throwable apply(ResponsePredicateResult result) 
 - 
requiresBodypublic boolean requiresBody() - Returns:
- truewhen the converter wants to process the request body.
 
 - 
newInstancepublic static ErrorConverter newInstance(io.vertx.ext.web.client.predicate.ErrorConverter arg) 
 
- 
 
-