Class CacheSupport

java.lang.Object
org.apache.hc.client5.http.impl.cache.CacheSupport

@Internal public final class CacheSupport extends Object
HTTP cache support utilities.
Since:
5.4
  • Field Details

    • MAX_AGE

      public static final org.apache.hc.core5.util.TimeValue MAX_AGE
  • Constructor Details

    • CacheSupport

      public CacheSupport()
  • Method Details

    • getLocationURI

      public static URI getLocationURI(URI requestUri, org.apache.hc.core5.http.MessageHeaders response, String headerName)
    • isSameOrigin

      public static boolean isSameOrigin(URI requestURI, URI targetURI)
    • deltaSeconds

      public static long deltaSeconds(String s)