class UrlEncodedForm extends FormData
Creates a URLEncodedFormEntity.
Constructor and description |
---|
UrlEncodedForm() |
Type Params | Return Type | Name and description |
---|---|---|
|
UrlEncodedForm |
addParameter(java.lang.String name, java.lang.String[] values)
|
|
org.apache.http.entity.ContentType |
getEncType() |
|
protected org.apache.http.client.entity.UrlEncodedFormEntity |
getEntity() |
|
UrlEncodedForm |
withParameters(java.util.Map<java.lang.String, java.lang.String> params) Convenience method for adding parameters to the form. |
Methods inherited from class | Name |
---|---|
class FormData |
addParameter, createBasicForm, createMultipartForm, getEncType, getEntity |
name
- The name of the form field.values
- One or more values (for checkbox arrays).Convenience method for adding parameters to the form.
params
- The parameters to add to the form.