Package dev.sigstore.http
Class HttpParams
- java.lang.Object
-
- dev.sigstore.http.HttpParams
-
@Immutable public abstract class HttpParams extends java.lang.ObjectHttp parameters for configuring connections to remote services. UseImmutableHttpParamsto instantiate.
-
-
Constructor Summary
Constructors Constructor Description HttpParams()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheck()booleangetAllowInsecureConnections()You shouldn't be using this outside of testing or very specific environments, but allows grpc or http clients to connect without ssl/tls.intgetTimeout()java.lang.StringgetUserAgent()
-
-
-
Method Detail
-
getUserAgent
@Default public java.lang.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()
-
-