Uses of Class
com.kingsrook.qqq.backend.core.utils.http.SafeHttpPolicy
Packages that use SafeHttpPolicy
-
Uses of SafeHttpPolicy in com.kingsrook.qqq.backend.core.utils.http
Methods in com.kingsrook.qqq.backend.core.utils.http that return SafeHttpPolicyModifier and TypeMethodDescriptionstatic SafeHttpPolicySafeHttpPolicy.defaults()The defaults.SafeHttpPolicy.withAllowPlainHttp(boolean allowPlainHttp) Allow http:// (default false: https only).SafeHttpPolicy.withConnectTimeout(Duration connectTimeout) Connect timeout.SafeHttpPolicy.withInternalAllowlist(List<String> internalAllowlist) Internal targets to allow (seeAddressRules).SafeHttpPolicy.withMaxResponseBytes(int maxResponseBytes) Most response body bytes read; the rest is discarded with the connection.SafeHttpPolicy.withReadTimeout(Duration readTimeout) Read (socket idle) timeout.SafeHttpPolicy.withTotalTimeout(Duration totalTimeout) Whole-request timeout (connect, send and read together).SafeHttpPolicy.withUserAgent(String userAgent) User-Agent header.Constructors in com.kingsrook.qqq.backend.core.utils.http with parameters of type SafeHttpPolicyModifierConstructorDescriptionSafeHttpClient(SafeHttpPolicy policy) Client using the system resolver.SafeHttpClient(SafeHttpPolicy policy, SafeHttpClient.HostResolver resolver) Client with a resolver.