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.

@FunctionalInterface public static interface AttachmentDataParser.Resources.HttpClientRetriever
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 Type
    Method
    Description
    reactor.netty.http.client.HttpClient
    Determines the HTTP client to use with the given execution context.
  • Method Details

    • getClient

      reactor.netty.http.client.HttpClient getClient(CommandContext context)
      Determines the HTTP client to use with the given execution context.
      Parameters:
      context - The execution context.
      Returns:
      The HTTP client to use.