org.apache.hc.client5.http.impl.cache

## 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 Summary

    Fields
    Modifier and Type | Field and Description
    --- | ---
    `static org.apache.hc.core5.util.TimeValue` | `MAX_AGE`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `CacheSupport()`

  - ### Method Summary

    All Methods Static Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `static long` | `deltaSeconds(String s)`
    `static URI` | `getLocationURI(URI requestUri, org.apache.hc.core5.http.MessageHeaders response, String headerName)`
    `static boolean` | `isSameOrigin(URI requestURI, URI targetURI)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Field Detail

    - #### MAX_AGE

          public static final org.apache.hc.core5.util.TimeValue MAX_AGE

  - ### Constructor Detail

    - #### CacheSupport

          public CacheSupport()

  - ### Method Detail

    - #### 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)

Copyright © 1999–2021 The Apache Software Foundation. All rights reserved.