Interface HttpCacheEntrySerializer

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      HttpCacheEntry readFrom​(java.io.InputStream is)
      Deserializes a byte representation of a cache entry by reading from the given InputStream.
      void writeTo​(HttpCacheEntry entry, java.io.OutputStream os)
      Serializes the given entry to a byte representation on the given OutputStream.
    • Method Detail

      • writeTo

        void writeTo​(HttpCacheEntry entry,
                     java.io.OutputStream os)
              throws java.io.IOException
        Serializes the given entry to a byte representation on the given OutputStream.
        Throws:
        java.io.IOException
      • readFrom

        HttpCacheEntry readFrom​(java.io.InputStream is)
                         throws java.io.IOException
        Deserializes a byte representation of a cache entry by reading from the given InputStream.
        Throws:
        java.io.IOException