Class MIMECacheEntry

  • All Implemented Interfaces:

    public class MIMECacheEntry
    extends Object
    implements Serializable
    Wrapper object for entries that arrive via RESTful PUT/POST interface.
    Michael Neale
    See Also:
    Serialized Form
    • Field Detail

      • contentType

        public String contentType
        The MIME Content type value, for example application/octet-stream. Often used in HTTP headers.
      • data

        public byte[] data
        The payload. The actual form of the contents depends on the contentType field. Will be String data if the contentType is application/json, application/xml or text/*
    • Constructor Detail

      • MIMECacheEntry

        public MIMECacheEntry()
      • MIMECacheEntry

        public MIMECacheEntry​(String contentType,
                              byte[] data)