@Deprecated public class ErrorConverter extends Object implements io.vertx.lang.rx.RxDelegate
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
Deprecated.
|
static ErrorConverter |
DEFAULT_CONVERTER
Deprecated.
|
Constructor and Description |
---|
ErrorConverter(ErrorConverter delegate)
Deprecated.
|
ErrorConverter(Object delegate)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
Throwable |
apply(ResponsePredicateResult result)
Deprecated.
|
static ErrorConverter |
create(java.util.function.Function<ResponsePredicateResult,Throwable> converter)
Deprecated.
|
static ErrorConverter |
createFullBody(java.util.function.Function<ResponsePredicateResult,Throwable> converter)
Deprecated.
|
boolean |
equals(Object o)
Deprecated.
|
ErrorConverter |
getDelegate()
Deprecated.
|
int |
hashCode()
Deprecated.
|
static ErrorConverter |
newInstance(ErrorConverter arg)
Deprecated.
|
boolean |
requiresBody()
Deprecated.
|
String |
toString()
Deprecated.
|
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()
getDelegate
in interface io.vertx.lang.rx.RxDelegate
@Deprecated 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 ResponsePredicateResult
@Deprecated public 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 ResponsePredicateResult
@Deprecated public Throwable apply(ResponsePredicateResult result)
@Deprecated public boolean requiresBody()
true
when the converter wants to process the request body.public static ErrorConverter newInstance(ErrorConverter arg)
Copyright © 2025 Eclipse. All rights reserved.