Class HttpBodyMapImpl

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


    public class HttpBodyMapImpl
    extends org.refcodes.structure.PathMapBuilderImpl<java.lang.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​(java.lang.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​(java.lang.String aToPath,
                               java.lang.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​(java.lang.Object aObj,
                               java.lang.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​(java.lang.String aToPath,
                               java.lang.Object aObj,
                               java.lang.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​(java.lang.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<java.lang.String>
        Overrides:
        retrieveFrom in class org.refcodes.structure.PathMapBuilderImpl<java.lang.String>
      • retrieveTo

        public HttpBodyMap retrieveTo​(java.lang.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<java.lang.String>
        Overrides:
        retrieveTo in class org.refcodes.structure.PathMapBuilderImpl<java.lang.String>
      • retrieveBetween

        public HttpBodyMap retrieveBetween​(java.lang.String aFromPath,
                                           java.lang.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<java.lang.String>