Class ClientOptions

java.lang.Object
org.springframework.vault.support.ClientOptions

public class ClientOptions extends Object
Client options for Vault.
Author:
Mark Paluch
  • Constructor Details

    • ClientOptions

      public ClientOptions()
      Create new ClientOptions with default timeouts of 5 TimeUnit.SECONDS connection timeout and 15 TimeUnit.SECONDS read timeout.
    • ClientOptions

      public ClientOptions(Duration connectionTimeout, Duration readTimeout)
      Create new ClientOptions.
      Parameters:
      connectionTimeout - connection timeout, must not be null.
      readTimeout - read timeout in, must not be null.
      Since:
      2.0
  • Method Details