Serializable, Cloneable, Map<String,String>, org.refcodes.configuration.Properties, org.refcodes.configuration.Properties.MutableProperties, org.refcodes.configuration.Properties.PropertiesBuilder, org.refcodes.mixin.DelimiterAccessor, org.refcodes.mixin.Dumpable, org.refcodes.mixin.TypeAccessor<String>, ContentType, HttpMediaType, HttpMediaTypeAccessor.HttpMediaTypeProvider<RuntimeException>, MediaTypeAccessor, TopLevelTypeAccessor, org.refcodes.structure.CanonicalMap, org.refcodes.structure.CanonicalMap.CanonicalMapBuilder, org.refcodes.structure.CanonicalMap.MutableCanonicalMap, org.refcodes.structure.Clearable, org.refcodes.structure.Containable, org.refcodes.structure.Dictionary<String,String>, org.refcodes.structure.Dictionary.MutableDictionary<String,String>, org.refcodes.structure.Dictionary.MutableDictionary.DictionaryBuilder<String,String,org.refcodes.structure.PathMap.PathMapBuilder<String>>, org.refcodes.structure.Keys<String,String>, org.refcodes.structure.Keys.MutableKeys<String,String>, org.refcodes.structure.Keys.MutableValues<String,String>, org.refcodes.structure.PathMap<String>, org.refcodes.structure.PathMap.MutablePathMap<String>, org.refcodes.structure.PathMap.PathMapBuilder<String>, org.refcodes.structure.PropertiesAccessorMixin, org.refcodes.structure.PropertiesAccessorMixin.PropertiesBuilderMixin<org.refcodes.structure.CanonicalMap.CanonicalMapBuilder>, org.refcodes.structure.PropertiesAccessorMixin.PropertiesMixin, org.refcodes.structure.PropertiesAccessorMixin.PropertiesMutatorMixinpublic class ContentTypeImpl extends org.refcodes.configuration.PropertiesBuilderImpl implements ContentType
ContentType interface.AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>org.refcodes.structure.CanonicalMap.CanonicalMapBuilder, org.refcodes.structure.CanonicalMap.MutableCanonicalMaporg.refcodes.mixin.DelimiterAccessor.DelimiterBuilder<B extends org.refcodes.mixin.DelimiterAccessor.DelimiterBuilder<B>>, org.refcodes.mixin.DelimiterAccessor.DelimiterMutator, org.refcodes.mixin.DelimiterAccessor.DelimiterPropertyorg.refcodes.structure.Dictionary.MutableDictionary<K extends Object,V extends Object>org.refcodes.structure.Dictionary.MutableDictionary.DictionaryBuilder<K extends Object,V extends Object,B extends org.refcodes.structure.Dictionary.MutableDictionary.DictionaryBuilder<K,V,B>>MediaTypeAccessor.MediaTypeBuilder<B extends MediaTypeAccessor.MediaTypeBuilder<B>>, MediaTypeAccessor.MediaTypeMutator, MediaTypeAccessor.MediaTypePropertyorg.refcodes.structure.PathMap.MutablePathMap<T extends Object>, org.refcodes.structure.PathMap.PathMapBuilder<T extends Object>org.refcodes.configuration.Properties.MutableProperties, org.refcodes.configuration.Properties.PropertiesBuilderorg.refcodes.structure.PropertiesAccessorMixin.PropertiesBuilderMixin<T extends Object>, org.refcodes.structure.PropertiesAccessorMixin.PropertiesMixin, org.refcodes.structure.PropertiesAccessorMixin.PropertiesMutatorMixinTopLevelTypeAccessor.TopLevelTypeBuilder<B extends TopLevelTypeAccessor.TopLevelTypeBuilder<B>>, TopLevelTypeAccessor.TopLevelTypeMutator, TopLevelTypeAccessor.TopLevelTypeProperty| Constructor | Description |
|---|---|
ContentTypeImpl(String aHttpMediaType) |
Constructs a
ContentType instance form a Media-Argument
String as passed in the according HTTP Header-Fields. |
ContentTypeImpl(MediaType aMediaType) |
|
ContentTypeImpl(MediaType aMediaType,
Map<String,String> aProperties) |
Instantiates a new content type impl.
|
| Modifier and Type | Method | Description |
|---|---|---|
boolean |
equals(Object obj) |
|
MediaType |
getMediaType() |
Retrieves the Media-Type from the Media-Type property.
|
int |
hashCode() |
|
String |
toString() |
toInstance, toInstance, toType, toTypewithInsert, withInsert, withInsertFrom, withInsertToinsert, insert, insertFrom, insertTo, putAll, toDump, toSourceCode, toSourceCodegetCharsetParametrer, getTopLevelType, put, putCharsetParametrer, toHttpMediaType, withCharsetParametrer, withPut, withPut, withPutclear, clone, containsValue, entrySet, forEach, isEmpty, keySet, putAll, replaceAll, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitdirectories, directories, entries, entries, fromExternalKey, getArray, getArray, getRootPath, hasParentPath, isArray, isArray, isDirectory, isEntry, isRecord, isRootPath, keySet, paths, paths, records, records, toDataStructure, toDataStructure, toExternalKey, toMap, toNormalizedPath, toNormalizedPath, toParentPath, toPathinsert, insert, insert, insert, insertFrom, insertFrom, insertTo, insertTo, put, putArray, putArray, removeAllwithInsert, withInsert, withInsertFrom, withInsertTocompute, computeIfAbsent, computeIfPresent, containsKey, get, getDelimiter, getOrDefault, getType, merge, put, putIfAbsent, remove, remove, replace, replace, toDataStructuregetDelimiter, getType, toMap, toProperties, toPropertyPathcontainsValue, delete, delete, insert, insert, insertFrom, insertTo, put, putAll, putAll, putAllchildrenOf, retrieve, retrieveFrom, retrieveTo, withInsert, withInsert, withInsert, withInsert, withInsertFrom, withInsertFrom, withInsertTo, withInsertTo, withPutBoolean, withPutByte, withPutDouble, withPutFloat, withPutInteger, withPutLong, withPutShort, withRemoveFromcontainsKey, get, getBoolean, getBoolean, getByte, getByte, getCharacter, getCharacter, getDouble, getDouble, getFloat, getFloat, getInteger, getInteger, getLong, getLong, getShort, getShort, use, useBoolean, useBoolean, useByte, useByte, useDouble, useDouble, useFloat, useFloat, useInteger, useInteger, useLong, useLong, useShort, useShortwithPutpublic ContentTypeImpl(MediaType aMediaType)
aMediaType - The MediaType from which to create the
ContentType instance.public ContentTypeImpl(String aHttpMediaType)
ContentType instance form a Media-Argument
String as passed in the according HTTP Header-Fields. A
Media-Argument String may look as follows:
"application/json;charset=UTF-8". The properties introduced by a
semicolon (";") are parsed into the ContentType's parameters map
(accessible via HashMap.keySet(), HashMap.values(),
PathMapBuilderImpl.get(Object) or adjustable by PathMapBuilderImpl.put(String, Object) and
the such Properties operations).aHttpMediaType - A HTTP Header-Fields Media-Argument String.public MediaType getMediaType()
getMediaType in interface MediaTypeAccessorpublic int hashCode()
public boolean equals(Object obj)
public String toString()
toString in class AbstractMap<String,String>Copyright © 2018. All rights reserved.