Interface AttachmentDataParser.Resources.HttpClientRetriever
- Enclosing class:
- AttachmentDataParser.Resources
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
A function that determines the HTTP client that should be used to fetch an attachment's
data based on the execution context.
- Since:
- 1.0
-
Method Summary
Modifier and TypeMethodDescriptionreactor.netty.http.client.HttpClient
getClient
(CommandContext context) Determines the HTTP client to use with the given execution context.
-
Method Details
-
getClient
Determines the HTTP client to use with the given execution context.- Parameters:
context
- The execution context.- Returns:
- The HTTP client to use.
-