Package io.vertx.core.http
Interface ClientForm
-
- All Known Subinterfaces:
ClientMultipartForm
public interface ClientFormA form: a container for attributes.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description ClientFormattribute(String name, String value)Charsetcharset()ClientFormcharset(String charset)Set thecharsetto use when encoding the form.ClientFormcharset(Charset charset)Set thecharsetto use when encoding the form.static ClientFormform()static ClientFormform(MultiMap initial)
-
-
-
Method Detail
-
form
static ClientForm form()
- Returns:
- a blank form
-
form
static ClientForm form(MultiMap initial)
- Parameters:
initial- the initial content of the form- Returns:
- a form populated after the
initialmultimap
-
attribute
ClientForm attribute(String name, String value)
-
charset
ClientForm charset(String 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
ClientForm charset(Charset 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
-
-