- java.lang.Object
-
- com.rabbitmq.http.client.ReactorNettyClientOptions
-
public class ReactorNettyClientOptions extends Object
Options forReactorNettyClient
. An instance of this class can be passed in toReactorNettyClient
constructor for settings like Jackson JSON object mapper, authentication, TLS, error handling.- Since:
- 2.1.0
- See Also:
ReactorNettyClient
-
-
Constructor Summary
Constructors Constructor Description ReactorNettyClientOptions()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Supplier<io.netty.buffer.ByteBuf>
byteBufSupplier()
ReactorNettyClientOptions
byteBufSupplier(Supplier<io.netty.buffer.ByteBuf> byteBufSupplier)
Supplier<reactor.netty.http.client.HttpClient>
client()
ReactorNettyClientOptions
client(Supplier<reactor.netty.http.client.HttpClient> client)
Supplier<com.fasterxml.jackson.databind.ObjectMapper>
objectMapper()
ReactorNettyClientOptions
objectMapper(Supplier<com.fasterxml.jackson.databind.ObjectMapper> objectMapper)
BiConsumer<? super HttpEndpoint,? super HttpResponse>
onResponseCallback()
ReactorNettyClientOptions
onResponseCallback(BiConsumer<? super HttpEndpoint,? super HttpResponse> onResponseCallback)
reactor.core.publisher.Mono<String>
token()
ReactorNettyClientOptions
token(reactor.core.publisher.Mono<String> token)
-
-
-
Method Detail
-
objectMapper
public Supplier<com.fasterxml.jackson.databind.ObjectMapper> objectMapper()
-
objectMapper
public ReactorNettyClientOptions objectMapper(Supplier<com.fasterxml.jackson.databind.ObjectMapper> objectMapper)
-
token
public reactor.core.publisher.Mono<String> token()
-
token
public ReactorNettyClientOptions token(reactor.core.publisher.Mono<String> token)
-
onResponseCallback
public ReactorNettyClientOptions onResponseCallback(BiConsumer<? super HttpEndpoint,? super HttpResponse> onResponseCallback)
-
onResponseCallback
public BiConsumer<? super HttpEndpoint,? super HttpResponse> onResponseCallback()
-
client
public Supplier<reactor.netty.http.client.HttpClient> client()
-
client
public ReactorNettyClientOptions client(Supplier<reactor.netty.http.client.HttpClient> client)
-
byteBufSupplier
public ReactorNettyClientOptions byteBufSupplier(Supplier<io.netty.buffer.ByteBuf> byteBufSupplier)
-
byteBufSupplier
public Supplier<io.netty.buffer.ByteBuf> byteBufSupplier()
-
-