A - you can use the Resilience4j filters for this....
# http4k
d
A - you can use the Resilience4j filters for this. B - not really that I know of - OkHttp might help you here because it's quite configurable, so you can maybe customise the client using the builder.