Interface HttpClient.Builder.State

Enclosing interface:
HttpClient.Builder

public static interface HttpClient.Builder.State
The state of the builder with methods to read the set state.
  • Method Details

    • baseUrl

      String baseUrl()
      Return the base URL.
    • bodyAdapter

      BodyAdapter bodyAdapter()
      Return the body adapter.
    • client

      HttpClient client()
      Return the HttpClient.
    • requestLogging

      boolean requestLogging()
      Return true if requestLogging is on.
    • requestTimeout

      Duration requestTimeout()
      Return the request timeout.
    • retryHandler

      RetryHandler retryHandler()
      Return the retry handler.