Interface ReactorNettyHttpClientMapper
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Mapper that allows for custom modification of a
HttpClient before it is used as
the basis for a ReactorClientHttpConnector.- Since:
- 2.3.0
-
Method Summary
Modifier and TypeMethodDescriptionreactor.netty.http.client.HttpClientconfigure(reactor.netty.http.client.HttpClient httpClient) Configure the givenHttpClientand return the newly created instance.static ReactorNettyHttpClientMapperof(Collection<ReactorNettyHttpClientMapper> mappers) Return a newReactorNettyHttpClientMappercomposed of the given mappers.static ReactorNettyHttpClientMapperof(ReactorNettyHttpClientMapper... mappers) Return a newReactorNettyHttpClientMappercomposed of the given mappers.
-
Method Details
-
configure
reactor.netty.http.client.HttpClient configure(reactor.netty.http.client.HttpClient httpClient) Configure the givenHttpClientand return the newly created instance.- Parameters:
httpClient- the client to configure- Returns:
- the new client instance
-
of
Return a newReactorNettyHttpClientMappercomposed of the given mappers.- Parameters:
mappers- the mappers to compose- Returns:
- a composed
ReactorNettyHttpClientMapperinstance - Since:
- 3.1.1
-
of
Return a newReactorNettyHttpClientMappercomposed of the given mappers.- Parameters:
mappers- the mappers to compose- Returns:
- a composed
ReactorNettyHttpClientMapperinstance - Since:
- 3.1.1
-