Package akka.http.javadsl.model
Class FormData
java.lang.Object
akka.http.javadsl.model.FormData
Simple model for `application/x-www-form-urlencoded` form data.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic FormData
Creates the FormData from the given parameters.static FormData
Creates a FormData from the given parameters.static FormData
Creates the FormData from the given parameters.toEntity()
Converts this FormData to a RequestEntity using UTF8 encoding.toEntity
(HttpCharset charset) Deprecated.FormData always uses charset UTF-8 without appending the charset to 'Content-Type: application/x-www-form-urlencoded', use toEntity() instead.
-
Field Details
-
EMPTY
Returns empty FormData.
-
-
Constructor Details
-
FormData
-
-
Method Details
-
toEntity
Converts this FormData to a RequestEntity using UTF8 encoding. -
toEntity
Deprecated.FormData always uses charset UTF-8 without appending the charset to 'Content-Type: application/x-www-form-urlencoded', use toEntity() instead.Converts this FormData to a RequestEntity using the given encoding. -
create
Creates the FormData from the given parameters. -
create
Creates the FormData from the given parameters. -
create
Creates a FormData from the given parameters.
-