Interface HttpClient

  • All Known Implementing Classes:
    NettyHttpClient

    public interface HttpClient
    Interface to pluggable HTTP client implementation
    • Method Detail

      • httpActionSync

        java.lang.String httpActionSync​(java.lang.String uri,
                                        java.lang.String method,
                                        java.util.List<HttpParam> parametersQuery,
                                        java.lang.String body,
                                        java.util.List<HttpResponse> errors)
                                 throws RestException
        Throws:
        RestException
      • httpActionSyncAsBytes

        byte[] httpActionSyncAsBytes​(java.lang.String uri,
                                     java.lang.String method,
                                     java.util.List<HttpParam> parametersQuery,
                                     java.lang.String body,
                                     java.util.List<HttpResponse> errors)
                              throws RestException
        Throws:
        RestException
      • destroy

        void destroy()