Interface ContentMetadataCodec

    • Method Detail

      • toHeaders

        com.google.common.collect.Multimap<String,​String> toHeaders​(ContentMetadata md)
        Generates standard HTTP headers for the give metadata.
      • parseExpires

        Date parseExpires​(String expires)
        Parses the 'Expires' header. If invalid, returns a date in the past (in accordance with HTTP 1.1 client spec).