public class FormUrlDecoder extends AbstractDecoder
Constructor and Description |
---|
FormUrlDecoder(ContentDef contentDef)
Creates a new FormUrlDecoder instance.
|
Modifier and Type | Method and Description |
---|---|
List<JsonNode> |
decodeArray(String content)
Returns the possible JSON array representations of the given content.
|
Optional<JsonNode> |
decodeBoolean(String content)
Returns the JSON boolean representation of the given content.
|
Optional<JsonNode> |
decodeNumber(String content)
Returns the JSON number representation of the given content.
|
List<JsonNode> |
decodeObject(String content)
Returns the possible JSON object representations of the given content.
|
Optional<JsonNode> |
decodeString(String content)
Returns the JSON string representation of the given content.
|
EncodingDef |
getPropertyEncoding(String property)
Returns the content encoding for the given property.
|
Map<String,EncodingDef> |
getPropertyEncodings()
Returns the content object property encodings.
|
decode, decodeNull, decodeUrl, decodeValue, getEncodingDef, getStyle, isExploded
public FormUrlDecoder(ContentDef contentDef)
public List<JsonNode> decodeArray(String content)
decodeArray
in class AbstractDecoder
public Optional<JsonNode> decodeNumber(String content)
decodeNumber
in class AbstractDecoder
public Optional<JsonNode> decodeBoolean(String content)
decodeBoolean
in class AbstractDecoder
public Optional<JsonNode> decodeString(String content)
decodeString
in class AbstractDecoder
public List<JsonNode> decodeObject(String content)
decodeObject
in class AbstractDecoder
public Map<String,EncodingDef> getPropertyEncodings()
public EncodingDef getPropertyEncoding(String property)
Copyright © 2024 The Cornutum Project. All rights reserved.