public class HttpBodyMapImpl extends org.refcodes.structure.PathMapBuilderImpl<String> implements HttpBodyMap
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
org.refcodes.structure.CanonicalMap.CanonicalMapBuilder, org.refcodes.structure.CanonicalMap.MutableCanonicalMap
org.refcodes.structure.PathMap.MutablePathMap<T>, org.refcodes.structure.PathMap.PathMapBuilder<T>
org.refcodes.mixin.DelimiterAccessor.DelimiterBuilder<B extends org.refcodes.mixin.DelimiterAccessor.DelimiterBuilder<B>>, org.refcodes.mixin.DelimiterAccessor.DelimiterMutator, org.refcodes.mixin.DelimiterAccessor.DelimiterProperty
org.refcodes.mixin.TypeAccessor.TypeMutator<T>, org.refcodes.mixin.TypeAccessor.TypeProperty<T>
org.refcodes.structure.Dictionary.MutableDictionary.DictionaryBuilder<K,V,B extends org.refcodes.structure.Dictionary.MutableDictionary.DictionaryBuilder<K,V,B>>
org.refcodes.structure.Dictionary.MutableDictionary<K,V>
org.refcodes.structure.PropertiesAccessorMixin.PropertiesBuilderMixin<T>, org.refcodes.structure.PropertiesAccessorMixin.PropertiesMixin, org.refcodes.structure.PropertiesAccessorMixin.PropertiesMutatorMixin
Constructor and Description |
---|
HttpBodyMapImpl()
Create an empty
HttpBodyMap instance using the default path
delimiter "/" (Delimiter.PATH ) for the path declarations. |
HttpBodyMapImpl(Object aObj)
Create a
HttpBodyMap instance containing the elements as of
MutablePathMap#insert(Object) using the default path delimiter
"/" (Delimiter.PATH ) for the path declarations. |
HttpBodyMapImpl(Object aObj,
String aFromPath)
Creates a
HttpBodyMap instance containing the elements as of
MutablePathMap#insert(Object) using the default path delimiter
"/" (Delimiter.PATH ) for the path declarations. |
HttpBodyMapImpl(String aToPath,
Object aObj)
Create a
HttpBodyMap instance containing the elements as of
MutablePathMap#insert(Object) using the default path delimiter
"/" (Delimiter.PATH ) for the path declarations. |
HttpBodyMapImpl(String aToPath,
Object aObj,
String aFromPath)
Creates a
HttpBodyMap instance containing the elements as of
MutablePathMap#insert(Object) using the default path delimiter
"/" (Delimiter.PATH for the path declarations. |
Modifier and Type | Method and Description |
---|---|
HttpBodyMap |
childrenOf(String aParentPath) |
HttpBodyMap |
retrieve(String aFromPath,
String aToPath) |
HttpBodyMap |
retrieveFrom(String aFromPath) |
HttpBodyMap |
retrieveTo(String aToPath) |
compute, computeIfAbsent, computeIfPresent, containsKey, get, getDelimiter, getOrDefault, getType, merge, put, putIfAbsent, remove, remove, replace, replace, toDataStructure
clear, clone, containsValue, entrySet, forEach, isEmpty, keySet, putAll, replaceAll, size, values
equals, hashCode, toString
finalize, getClass, notify, notifyAll, wait, wait, wait
delete, withInsert, withInsert, withInsertFrom, withInsertTo, withPut, withPut
withInsert, withInsert, withInsertFrom, withInsertTo, withPutBoolean, withPutByte, withPutDouble, withPutFloat, withPutInteger, withPutLong, withPutShort, withRemoveFrom
withInsert, withInsert, withInsertFrom, withInsertTo
containsValue, insert, insert, insertFrom, insertTo, put, putAll, putAll, putAll, toDump, toSourceCode, toSourceCode
toInstance, toInstance, toType, toType
insert, insert, insert, insert, insertFrom, insertFrom, insertTo, insertTo, put, putArray, putArray, removeAll
directories, directories, entries, entries, fromExternalKey, getArray, getArray, getRootPath, hasParentPath, isArray, isArray, isDirectory, isEntry, isRecord, isRootPath, keySet, paths, paths, records, records, toDataStructure, toDataStructure, toExternalKey, toMap, toMap, toNormalizedPath, toNormalizedPath, toParentPath, toPath
clear, compute, computeIfAbsent, computeIfPresent, containsKey, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
withPut
containsKey, 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, useShort
public HttpBodyMapImpl()
HttpBodyMap
instance using the default path
delimiter "/" (Delimiter.PATH
) for the path declarations.public HttpBodyMapImpl(Object aObj)
HttpBodyMap
instance containing the elements as of
MutablePathMap#insert(Object)
using the default path delimiter
"/" (Delimiter.PATH
) for the path declarations.aObj
- The object from which the elements are to be added.public HttpBodyMapImpl(String aToPath, Object aObj)
HttpBodyMap
instance containing the elements as of
MutablePathMap#insert(Object)
using the default path delimiter
"/" (Delimiter.PATH
) for the path declarations.aToPath
- The sub-path where to insert the object's introspected
values to.aObj
- The object from which the elements are to be added.public HttpBodyMapImpl(Object aObj, String aFromPath)
HttpBodyMap
instance containing the elements as of
MutablePathMap#insert(Object)
using the default path delimiter
"/" (Delimiter.PATH
) for the path declarations.aObj
- The object from which the elements are to be added.aFromPath
- The path from where to start adding elements of the
provided object.public HttpBodyMapImpl(String aToPath, Object aObj, String aFromPath)
HttpBodyMap
instance containing the elements as of
MutablePathMap#insert(Object)
using the default path delimiter
"/" (Delimiter.PATH
for the path declarations.aToPath
- The sub-path where to insert the object's introspected
values to.aObj
- The object from which the elements are to be added.aFromPath
- The path from where to start adding elements of the
provided object.public HttpBodyMap retrieveFrom(String aFromPath)
retrieveFrom
in interface HttpBodyMap
retrieveFrom
in interface org.refcodes.structure.CanonicalMap
retrieveFrom
in interface org.refcodes.structure.PathMap<String>
retrieveFrom
in class org.refcodes.structure.PathMapBuilderImpl<String>
public HttpBodyMap retrieveTo(String aToPath)
retrieveTo
in interface HttpBodyMap
retrieveTo
in interface org.refcodes.structure.CanonicalMap
retrieveTo
in interface org.refcodes.structure.PathMap<String>
retrieveTo
in class org.refcodes.structure.PathMapBuilderImpl<String>
public HttpBodyMap childrenOf(String aParentPath)
childrenOf
in interface HttpBodyMap
childrenOf
in interface org.refcodes.structure.CanonicalMap
childrenOf
in interface org.refcodes.structure.PathMap<String>
childrenOf
in class org.refcodes.structure.PathMapBuilderImpl<String>
public HttpBodyMap retrieve(String aFromPath, String aToPath)
retrieve
in interface HttpBodyMap
retrieve
in interface org.refcodes.structure.CanonicalMap
retrieve
in interface org.refcodes.structure.PathMap<String>
Copyright © 2018. All rights reserved.