Package com.atlan.net

Class RequestOptions

java.lang.Object
com.atlan.net.RequestOptions

public class RequestOptions extends Object
Class to encapsulate all the options that can be overridden on individual API calls.
  • Method Details

    • from

      Returns a new set of request options, initialized from the values set in the provided client.
      Parameters:
      client - from which to initialize the options
      Returns:
      a new set of request options
    • builder

      public static RequestOptions.RequestOptionsBuilder builder()
    • toBuilder

    • getConnectTimeout

      public int getConnectTimeout()
    • getReadTimeout

      public int getReadTimeout()
    • getMaxNetworkRetries

      public int getMaxNetworkRetries()
    • getConnectionProxy

      public Proxy getConnectionProxy()
    • getProxyCredential

      public PasswordAuthentication getProxyCredential()
    • getSkipLogging

      public boolean getSkipLogging()
    • getSendAuthHeader

      public boolean getSendAuthHeader()
    • getExtraHeaders

      public Map<String,List<String>> getExtraHeaders()
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • canEqual

      protected boolean canEqual(Object other)
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object