org.apache.hc.client5.http.cache

## Class HttpCacheStorageEntry

- java.lang.Object
- - org.apache.hc.client5.http.cache.HttpCacheStorageEntry

- All Implemented Interfaces:
    Serializable

      @Contract(threading=IMMUTABLE)
      public final class HttpCacheStorageEntry
      extends Object
      implements Serializable

  This class contains a `HttpCacheEntry` along with its key.
  Since:
    5.0
  See Also:
    Serialized Form

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `HttpCacheStorageEntry(String key, HttpCacheEntry content)`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `HttpCacheEntry` | `getContent()`
    `String` | `getKey()`
    `String` | `toString()`

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

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

- - ### Constructor Detail

    - #### HttpCacheStorageEntry

          public HttpCacheStorageEntry(String key,
                                       HttpCacheEntry content)

  - ### Method Detail

    - #### getKey

          public String getKey()

    - #### getContent

          public HttpCacheEntry getContent()

    - #### toString

          public String toString()

      Overrides:
        `toString` in class `Object`

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