-
- All Superinterfaces:
Parameters
public interface FormParams extends Parameters
Provides access to any form parameters present in the request entity.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
FormParams.Builder
Builder of a newFormParams
instance.
-
Method Summary
All Methods Static Methods Deprecated Methods Modifier and Type Method Description static FormParams.Builder
builder()
Creates a newFormParams.Builder
ofFormParams
instance.static FormParams
create(String paramAssignments, MediaType mediaType)
Deprecated.usebuilder()
instead or registerio.helidon.media.common.FormParamsBodyReader
-
Methods inherited from interface io.helidon.common.http.Parameters
add, add, addAll, all, computeIfAbsent, computeSingleIfAbsent, first, put, put, putAll, putIfAbsent, putIfAbsent, remove, toMap
-
-
-
-
Method Detail
-
create
@Deprecated(since="2.0.2") static FormParams create(String paramAssignments, MediaType mediaType)
Deprecated.usebuilder()
instead or registerio.helidon.media.common.FormParamsBodyReader
Creates a newFormParams
instance using the provided assignment string and media type.- Parameters:
paramAssignments
- String containing the parameter assignments, formatted according to the media type specified (& separator for URL-encoded, NL for text/plain)mediaType
- MediaType for which the parameter conversion is occurring- Returns:
- the new
FormParams
instance
-
builder
static FormParams.Builder builder()
Creates a newFormParams.Builder
ofFormParams
instance.- Returns:
- builder instance
-
-