public interface Formdata extends ValueNode
MediaType.FORM_URLENCODED
.Modifier and Type | Method and Description |
---|---|
static Formdata |
create(Context ctx)
Creates a formdata object.
|
void |
put(String path,
Collection<String> values)
Add a form field.
|
void |
put(String path,
String value)
Add a form field.
|
void |
put(String path,
ValueNode value)
Add a form field.
|
get, get, iterator, resolve, resolve, resolve, resolve, size
forEach, spliterator
array, booleanValue, booleanValue, byteValue, byteValue, create, create, doubleValue, doubleValue, floatValue, floatValue, hash, intValue, intValue, isArray, isMissing, isObject, isSingle, longValue, longValue, missing, name, to, toEnum, toEnum, toList, toList, toMap, toMultimap, toOptional, toOptional, toSet, toSet, value, value, value, value, valueOrNull
@Nonnull void put(@Nonnull String path, @Nonnull ValueNode value)
path
- Form name/path.value
- Form value.@Nonnull void put(@Nonnull String path, @Nonnull String value)
path
- Form name/path.value
- Form value.@Nonnull void put(@Nonnull String path, @Nonnull Collection<String> values)
path
- Form name/path.values
- Form values.Copyright © 2020. All rights reserved.