public static final class CompositeMetadata.ExplicitMimeTimeEntry extends Object implements CompositeMetadata.Entry
CompositeMetadata.Entry backed by an explicitly declared MIME type.| Constructor and Description |
|---|
ExplicitMimeTimeEntry(ByteBuf content,
String type) |
| Modifier and Type | Method and Description |
|---|---|
ByteBuf |
getContent()
Returns the un-decoded content of the
CompositeMetadata.Entry. |
String |
getMimeType()
Returns the MIME type of the entry, if it can be decoded.
|
public ByteBuf getContent()
CompositeMetadata.EntryCompositeMetadata.Entry.getContent in interface CompositeMetadata.EntryCompositeMetadata.Entrypublic String getMimeType()
CompositeMetadata.EntrygetMimeType in interface CompositeMetadata.Entrynull.