public class ErrorConverterImpl extends Object implements ErrorConverter
DEFAULT_CONVERTER| Constructor and Description |
|---|
ErrorConverterImpl(Function<ResponsePredicateResult,Throwable> converter,
boolean needsBody) |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
apply(ResponsePredicateResult result) |
boolean |
requiresBody() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcreate, createFullBodypublic ErrorConverterImpl(Function<ResponsePredicateResult,Throwable> converter, boolean needsBody)
public boolean requiresBody()
requiresBody in interface ErrorConvertertrue when the converter wants to process the request body.public Throwable apply(ResponsePredicateResult result)
apply in interface ErrorConverterCopyright © 2020. All rights reserved.