Interface ClientForm
- All Known Subinterfaces:
ClientMultipartForm
public interface ClientForm
A form: a container for attributes.
-
Method Summary
Modifier and TypeMethodDescriptioncharset()Set thecharsetto use when encoding the form.Set thecharsetto use when encoding the form.static ClientFormform()static ClientForm
-
Method Details
-
form
- Returns:
- a blank form
-
form
- Parameters:
initial- the initial content of the form- Returns:
- a form populated after the
initialmultimap
-
attribute
-
charset
Set thecharsetto use when encoding the form. The default charset isStandardCharsets.UTF_8.- Parameters:
charset- the charset to use- Returns:
- a reference to this, so the API can be used fluently
-
charset
Set thecharsetto use when encoding the form. The default charset isStandardCharsets.UTF_8.- Parameters:
charset- the charset to use- Returns:
- a reference to this, so the API can be used fluently
-
charset
Charset charset()- Returns:
- the charset to use when encoding the form
-