Interface HttpClient


public interface HttpClient
A simple HTTP Client that gets configured by the server configuration, possibly with a keystore.
  • Method Details

    • getScheme

      String getScheme()
      Returns:
      this client's scheme.
    • cookieManager

      Returns:
      this client's CookieManager, if it has one.
    • request

      HttpRequest.Builder request(URI uri)
      Start creating a HTTP request to the given endpoint.
      Parameters:
      uri - URI to which the request will be sent
      Returns:
      builder of HTTP request