"application/x-www-form-urlencoded" content type.
| Modifier and Type | Field and Description |
|---|---|
| private final MultivaluedMap |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | Form(final MultivaluedMap<String, String>
form data store used by the created form instance. store)Create a new form data instance and register a custom underlying parameter store. |
| Modifier and Type | Method and Description |
|---|---|
| public MultivaluedMap | Returns: form represented as multivalued map.Returns multivalued map representation of the form. |
| public Form |
| parameters | back to summary |
|---|---|
| private final MultivaluedMap<String, String> parameters | |
| Form | back to summary |
|---|---|
| public Form() Create a new form data instance.
The underlying form parameter store is configured to preserve the insertion order
of the parameters. I.e. parameters can be iterated in the same order as they were
inserted into the | |
| Form | back to summary |
|---|---|
| public Form(final String parameterName, final String parameterValue) Create a new form data instance with a single parameter entry.
The underlying form parameter store is configured to preserve the insertion order
of the parameters. I.e. parameters can be iterated in the same order as they were
inserted into the | |
| Form | back to summary |
|---|---|
| public Form(final MultivaluedMap<String, String> store) Create a new form data instance and register a custom underlying parameter store. This method is useful in situations when a custom parameter store is needed in order to change the default parameter iteration order, improve performance or facilitate other custom requirements placed on the parameter store.
| |
| asMap | back to summary |
|---|---|
| public MultivaluedMap Returns multivalued map representation of the form.
| |
| param | back to summary |
|---|---|
| public Form param(final String name, final String value) Adds a new value to the specified form parameter. | |