Class HttpParams

java.lang.Object
dev.sigstore.http.HttpParams

@Immutable public abstract class HttpParams extends Object
Http parameters for configuring connections to remote services. Use ImmutableHttpParams to instantiate.
  • Constructor Details

    • HttpParams

      public HttpParams()
  • Method Details

    • getUserAgent

      @Default public String getUserAgent()
    • getTimeout

      @Default public int getTimeout()
    • getAllowInsecureConnections

      @Default public boolean getAllowInsecureConnections()
      You shouldn't be using this outside of testing or very specific environments, but allows grpc or http clients to connect without ssl/tls.
    • check

      @Check protected void check()
    • builder

      public static dev.sigstore.http.ImmutableHttpParams.Builder builder()