public static final class CompositeMetadata.ReservedMimeTypeEntry extends Object implements CompositeMetadata.Entry
CompositeMetadata.Entry
backed by a WellKnownMimeType
entry, but one that is not understood by
this implementation.Constructor and Description |
---|
ReservedMimeTypeEntry(ByteBuf content,
int 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.
|
int |
getType()
Returns the reserved, but unknown
WellKnownMimeType for this entry. |
public ReservedMimeTypeEntry(ByteBuf content, int type)
public ByteBuf getContent()
CompositeMetadata.Entry
CompositeMetadata.Entry
.getContent
in interface CompositeMetadata.Entry
CompositeMetadata.Entry
public String getMimeType()
null
.getMimeType
in interface CompositeMetadata.Entry
null
.public int getType()
WellKnownMimeType
for this entry. Range is 0-127
(inclusive).WellKnownMimeType
for this entry