public final RequestCacheControl getRequestCacheControlOrDefault() {
        final RequestCacheControl cacheControl = getRequestCacheControl();
        return cacheControl != null ? cacheControl : RequestCacheControl.DEFAULT;
    }
Returns cache control requested by the client or {@link RequestCacheControl#DEFAULT}
if not explicitly set in the context.

@since 5.4
httpclient5-cache/src/main/java/org/apache/hc/client5/http/cache/HttpCacheContext.java