Class RequestExecutor

  • Direct Known Subclasses:
    URLConnectionExecutor

    public abstract class RequestExecutor
    extends java.lang.Object
    • Field Detail

      • client

        @Nonnull
        protected final HttpClient client
    • Constructor Detail

      • RequestExecutor

        public RequestExecutor​(@Nonnull
                               HttpClient client)
    • Method Detail

      • execute

        @Nonnull
        public abstract HttpResponse execute​(@Nonnull
                                             HttpRequest request)
                                      throws java.io.IOException,
                                             java.lang.InterruptedException
        Throws:
        java.io.IOException
        java.lang.InterruptedException