Class HttpBodyMapImpl

  • All Implemented Interfaces:
    Serializable, Map<String,T>, org.refcodes.mixin.AnnotatorAccessor, org.refcodes.mixin.DelimiterAccessor, org.refcodes.mixin.Dumpable, org.refcodes.mixin.TypeAccessor<String>, HttpBodyMap, 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,T>, org.refcodes.structure.Dictionary.MutableDictionary<String,T>, org.refcodes.structure.Dictionary.MutableDictionary.DictionaryBuilder<String,T,org.refcodes.structure.PathMap.PathMapBuilder<T>>, org.refcodes.structure.Keys<String,T>, org.refcodes.structure.Keys.MutableKeys<String,T>, org.refcodes.structure.Keys.MutableValues<String,T>, 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<String>, org.refcodes.structure.PropertiesAccessorMixin.PropertiesMixin, org.refcodes.structure.PropertiesAccessorMixin.PropertiesMutatorMixin


    public class HttpBodyMapImpl
    extends org.refcodes.structure.PathMapBuilderImpl<String>
    implements HttpBodyMap
    The Class HttpBodyMapImpl.
    See Also:
    Serialized Form
    • Constructor Detail

      • HttpBodyMapImpl

        public HttpBodyMapImpl​()
        Create an empty HttpBodyMap instance using the default path delimiter "/" (Delimiter.PATH) for the path declarations.
      • HttpBodyMapImpl

        public HttpBodyMapImpl​(Object aObj)
        Create a HttpBodyMap instance containing the elements as of PathMap.MutablePathMap.insert(Object) using the default path delimiter "/" (Delimiter.PATH) for the path declarations.
        Parameters:
        aObj - The object from which the elements are to be added.
      • HttpBodyMapImpl

        public HttpBodyMapImpl​(String aToPath,
                               Object aObj)
        Create a HttpBodyMap instance containing the elements as of PathMap.MutablePathMap.insert(Object) using the default path delimiter "/" (Delimiter.PATH) for the path declarations.
        Parameters:
        aToPath - The sub-path where to insert the object's introspected values to.
        aObj - The object from which the elements are to be added.
      • HttpBodyMapImpl

        public HttpBodyMapImpl​(Object aObj,
                               String aFromPath)
        Creates a HttpBodyMap instance containing the elements as of PathMap.MutablePathMap.insert(Object) using the default path delimiter "/" (Delimiter.PATH) for the path declarations.
        Parameters:
        aObj - The object from which the elements are to be added.
        aFromPath - The path from where to start adding elements of the provided object.
      • HttpBodyMapImpl

        public HttpBodyMapImpl​(String aToPath,
                               Object aObj,
                               String aFromPath)
        Creates a HttpBodyMap instance containing the elements as of PathMap.MutablePathMap.insert(Object) using the default path delimiter "/" (Delimiter.PATH for the path declarations.
        Parameters:
        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.
    • Method Detail

      • retrieveFrom

        public HttpBodyMap retrieveFrom​(String aFromPath)
        Specified by:
        retrieveFrom in interface org.refcodes.structure.CanonicalMap
        Specified by:
        retrieveFrom in interface HttpBodyMap
        Specified by:
        retrieveFrom in interface org.refcodes.structure.PathMap<String>
        Overrides:
        retrieveFrom in class org.refcodes.structure.PathMapBuilderImpl<String>
      • retrieveTo

        public HttpBodyMap retrieveTo​(String aToPath)
        Specified by:
        retrieveTo in interface org.refcodes.structure.CanonicalMap
        Specified by:
        retrieveTo in interface HttpBodyMap
        Specified by:
        retrieveTo in interface org.refcodes.structure.PathMap<String>
        Overrides:
        retrieveTo in class org.refcodes.structure.PathMapBuilderImpl<String>
      • retrieveBetween

        public HttpBodyMap retrieveBetween​(String aFromPath,
                                           String aToPath)
        Specified by:
        retrieveBetween in interface org.refcodes.structure.CanonicalMap
        Specified by:
        retrieveBetween in interface HttpBodyMap
        Specified by:
        retrieveBetween in interface org.refcodes.structure.PathMap<String>