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
- Author:
- Brian Clozel, Phillip Webb
-
Method Summary
Modifier and TypeMethodDescriptionreactor.netty.http.client.HttpClient
configure
(reactor.netty.http.client.HttpClient httpClient) Configure the givenHttpClient
and return the newly created instance.static ReactorNettyHttpClientMapper
of
(Collection<ReactorNettyHttpClientMapper> mappers) Return a newReactorNettyHttpClientMapper
composed of the given mappers.static ReactorNettyHttpClientMapper
of
(ReactorNettyHttpClientMapper... mappers) Return a newReactorNettyHttpClientMapper
composed of the given mappers.
-
Method Details
-
configure
reactor.netty.http.client.HttpClient configure(reactor.netty.http.client.HttpClient httpClient) Configure the givenHttpClient
and return the newly created instance.- Parameters:
httpClient
- the client to configure- Returns:
- the new client instance
-
of
Return a newReactorNettyHttpClientMapper
composed of the given mappers.- Parameters:
mappers
- the mappers to compose- Returns:
- a composed
ReactorNettyHttpClientMapper
instance - Since:
- 3.1.1
-
of
Return a newReactorNettyHttpClientMapper
composed of the given mappers.- Parameters:
mappers
- the mappers to compose- Returns:
- a composed
ReactorNettyHttpClientMapper
instance - Since:
- 3.1.1
-