public class ErrorConverter extends Object
ResponsePredicateResult to a Throwable describing the error.
 
 NOTE: This class has been automatically generated from the original non RX-ified interface using Vert.x codegen.| Modifier and Type | Field and Description | 
|---|---|
static io.vertx.lang.rx.TypeArg<ErrorConverter> | 
__TYPE_ARG  | 
static ErrorConverter | 
DEFAULT_CONVERTER  | 
| Constructor and Description | 
|---|
ErrorConverter(ErrorConverter delegate)  | 
ErrorConverter(Object delegate)  | 
| Modifier and Type | Method and Description | 
|---|---|
Throwable | 
apply(ResponsePredicateResult result)  | 
static ErrorConverter | 
create(java.util.function.Function<ResponsePredicateResult,Throwable> converter)
Creates a full  
ErrorConverter, that will passed a predicate result with the response body. | 
static ErrorConverter | 
createFullBody(java.util.function.Function<ResponsePredicateResult,Throwable> converter)
Creates a full  
ErrorConverter, that will passed a predicate result with the response body. | 
boolean | 
equals(Object o)  | 
ErrorConverter | 
getDelegate()  | 
int | 
hashCode()  | 
static ErrorConverter | 
newInstance(ErrorConverter arg)  | 
boolean | 
requiresBody()  | 
String | 
toString()  | 
public static final io.vertx.lang.rx.TypeArg<ErrorConverter> __TYPE_ARG
public static final ErrorConverter DEFAULT_CONVERTER
public ErrorConverter(ErrorConverter delegate)
public ErrorConverter(Object delegate)
public ErrorConverter getDelegate()
public static ErrorConverter create(java.util.function.Function<ResponsePredicateResult,Throwable> converter)
ErrorConverter, that will passed a predicate result with the response body.
 The converter function will be invoked after the HTTP response body is received.
converter - a function creating a Throwable from a ResponsePredicateResultpublic static ErrorConverter createFullBody(java.util.function.Function<ResponsePredicateResult,Throwable> converter)
ErrorConverter, that will passed a predicate result with the response body.
 The converter function will be invoked after the HTTP response body is received.
converter - a function creating a Throwable from a ResponsePredicateResultpublic Throwable apply(ResponsePredicateResult result)
public boolean requiresBody()
true when the converter wants to process the request body.public static ErrorConverter newInstance(ErrorConverter arg)
Copyright © 2020 Eclipse. All rights reserved.