Package org.refcodes.net
Class FormFieldsImpl
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<String,List<String>>
-
- org.refcodes.net.AbstractHttpFields<FormFields>
-
- org.refcodes.net.FormFieldsImpl
-
- All Implemented Interfaces:
Serializable
,Cloneable
,Map<String,List<String>>
,FormFields
,HttpFields<FormFields>
public class FormFieldsImpl extends AbstractHttpFields<FormFields> implements FormFields
The Class FormFieldsImpl.- Author:
- steiner
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object,V extends Object>
-
-
Constructor Summary
Constructors Constructor Description FormFieldsImpl()
Instantiates a new form fields impl.FormFieldsImpl(String aHttpFormFields)
Initializes the instance with the fields provided by the given HTTP Form-Fields (HTTP Query-String).FormFieldsImpl(Map<String,List<String>> aHttpFields)
Initializes the instance with the fields provided by the givenMap
.
-
Method Summary
-
Methods inherited from class org.refcodes.net.AbstractHttpFields
copyHttpFields
-
Methods inherited from class java.util.AbstractMap
equals, hashCode, toString
-
Methods inherited from interface org.refcodes.net.FormFields
fromBodyFormFields, fromUrl, fromUrlQueryString, toBodyFormFields, toContentLength, toFormFields, toFormFields, toUrlQueryString
-
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
Methods inherited from interface org.refcodes.net.HttpFields
addTo, addTo, addTo, addTo, addTo, addTo, getFirst, getFirst, put, put, put, put, toField, toField, withAddTo, withAddTo, withAddTo, withAddTo, withAddTo, withAddTo, withPut, withPut, withPut, withPut, withPut, withPut
-
Methods inherited from interface java.util.Map
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entry, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, of, of, of, of, of, of, of, of, of, of, of, ofEntries, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
-
-
-
-
Constructor Detail
-
FormFieldsImpl
public FormFieldsImpl()
Instantiates a new form fields impl.
-
FormFieldsImpl
public FormFieldsImpl(Map<String,List<String>> aHttpFields)
Initializes the instance with the fields provided by the givenMap
.- Parameters:
aHttpFields
- TheMap
from which to get the keys and values for initializing this instance.
-
-