Package io.vertx.core.http
Interface ClientForm
-
- All Known Subinterfaces:
ClientMultipartForm
public interface ClientForm
A form: a container for attributes.
-
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description ClientForm
attribute(String name, String value)
Charset
charset()
ClientForm
charset(String charset)
Set thecharset
to use when encoding the form.ClientForm
charset(Charset charset)
Set thecharset
to use when encoding the form.static ClientForm
form()
static ClientForm
form(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
initial
multimap
-
attribute
ClientForm attribute(String name, String value)
-
charset
ClientForm charset(String charset)
Set thecharset
to 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 thecharset
to 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
-
-