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.Entry
CompositeMetadata.Entry
.getContent
in interface CompositeMetadata.Entry
CompositeMetadata.Entry
public String getMimeType()
CompositeMetadata.Entry
getMimeType
in interface CompositeMetadata.Entry
null
.