Package org.refcodes.net
Class FormFieldsImpl
- java.lang.Object
-
- java.util.AbstractMap<K,V>
-
- java.util.HashMap<java.lang.String,java.util.List<java.lang.String>>
-
- org.refcodes.net.AbstractHttpFields<FormFields>
-
- org.refcodes.net.FormFieldsImpl
-
- All Implemented Interfaces:
java.util.Map<java.lang.String,java.util.List<java.lang.String>>
,FormFields
,HttpFields<FormFields>
public class FormFieldsImpl extends AbstractHttpFields<FormFields> implements FormFields
The Class FormFieldsImpl.- Author:
- steiner
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FormFieldsImpl()
Instantiates a new form fields impl.FormFieldsImpl(java.lang.String aHttpFormFields)
Initializes the instance with the fields provided by the given HTTP Form-Fields (HTTP Query-String).FormFieldsImpl(java.util.Map<java.lang.String,java.util.List<java.lang.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 interface org.refcodes.net.FormFields
fromBodyFormFields, fromUrl, fromUrlQueryString, toBodyFormFields, 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(java.util.Map<java.lang.String,java.util.List<java.lang.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.
-
FormFieldsImpl
public FormFieldsImpl(java.lang.String aHttpFormFields)
Initializes the instance with the fields provided by the given HTTP Form-Fields (HTTP Query-String).- Parameters:
aHttpFormFields
- TheString
from which to parse the keys and values for initializing this instance.
-
-