HttpFields<FormFields>, Map<String,List<String>>FormFieldsImpl, OauthFieldsImplpublic interface FormFields extends HttpFields<FormFields>
FormFields represent the URL's Query-String by the notation
originally used by the GET request of the ancient web forms (see
"https://en.wikipedia.org/wiki/Query_string#Web_forms"). Therefore the name
FormFields, as them web forms provided fields with values (see
"https://en.wikipedia.org/wiki/Form_(HTML)")| Modifier and Type | Method | Description |
|---|---|---|
default void |
fromBodyFormFields(String aHttpFormFields) |
Processes the HTTP Form-Fields body
String and retrieves the
therein defined Form-Fields and adds them to the FormFields
instance. |
default void |
fromUrl(String aUrl) |
Extracts the HTTP Query-String from the provided URL by identifying the
first question mark ("?")
|
default void |
fromUrlQueryString(String aQueryString) |
Processes the HTTP Query-String and retrieves the therein defined
Form-Fields and adds them to the
FormFields instance. |
default String |
toBodyFormFields() |
Produces an HTTP Form-Fields body
String form the herein contain
HTTP query fields. |
static FormFields |
toFormFields() |
Creates a new
FormFields instance. |
static FormFields |
toFormFields(String aFormFields) |
Creates a new
FormFields instance. |
default String |
toUrlQueryString() |
Produces an HTTP Query-String form the herein contain HTTP query fields.
|
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, withPutclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuesstatic FormFields toFormFields()
FormFields instance.FormFields instance.static FormFields toFormFields(String aFormFields)
FormFields instance.aFormFields - The Form-Fields' String representation from
which to construct the FormFields instance.FormFields instance.default void fromUrlQueryString(String aQueryString)
FormFields instance.aQueryString - The HTTP Query-String from which to extract the form
being added to the FormFields instance.default void fromBodyFormFields(String aHttpFormFields)
String and retrieves the
therein defined Form-Fields and adds them to the FormFields
instance.aHttpFormFields - The HTTP Form-Fields String from which to
extract the form being added to the FormFields instance.default String toUrlQueryString()
FormFields
instance or null if this instance is empty.default String toBodyFormFields()
String form the herein contain
HTTP query fields.String representation of this
FormFields instance or null if this instance is empty.default void fromUrl(String aUrl)
FormFields instance.aUrl - The URL from which to extract the HTTP Query-String which's
Form-Fields are to be added to the FormFields instance.Copyright © 2018. All rights reserved.