- java.lang.Object
-
- com.rabbitmq.http.client.ReactorNettyClientOptions
-
public class ReactorNettyClientOptions extends Object
Options forReactorNettyClient. An instance of this class can be passed in toReactorNettyClientconstructor 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()ReactorNettyClientOptionsbyteBufSupplier(Supplier<io.netty.buffer.ByteBuf> byteBufSupplier)Supplier<reactor.netty.http.client.HttpClient>client()ReactorNettyClientOptionsclient(Supplier<reactor.netty.http.client.HttpClient> client)Supplier<com.fasterxml.jackson.databind.ObjectMapper>objectMapper()ReactorNettyClientOptionsobjectMapper(Supplier<com.fasterxml.jackson.databind.ObjectMapper> objectMapper)BiConsumer<? super HttpEndpoint,? super HttpResponse>onResponseCallback()ReactorNettyClientOptionsonResponseCallback(BiConsumer<? super HttpEndpoint,? super HttpResponse> onResponseCallback)reactor.core.publisher.Mono<String>token()ReactorNettyClientOptionstoken(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()
-
-