Interface HttpCallDispatcher.HttpCallFunction

  • Enclosing class:
    HttpCallDispatcher
    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 HttpCallDispatcher.HttpCallFunction
    Contract representing an HTTP call to execute.
    • Method Detail

      • apply

        void apply​(HttpRequest httpRequest,
                   HttpCallback httpCallback)
        Perform an HTTP call.
        Parameters:
        httpRequest - The HTTP request.
        httpCallback - The callback to notify the result of the HTTP call.