Package javax.json.bind.config
Class BinaryDataStrategy
java.lang.Object
javax.json.bind.config.BinaryDataStrategy
Specifies predefined binary data handling strategies.
This strategy can be set via
JsonbConfig.withBinaryDataStrategy(String)
.- Since:
- JSON Binding 1.0
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
Using this strategy, binary data is encoded using the Base64 encoding scheme as specified in RFC 4648 and RFC 2045.static final String
Using this strategy, binary data is encoded using the "URL and Filename safe Base64 Alphabet" as specified in Table 2 of RFC 4648.static final String
Using this strategy, binary data is encoded as a byte array. -
Method Summary
-
Field Details
-
BYTE
Using this strategy, binary data is encoded as a byte array. Default encoding strategy.- See Also:
-
BASE_64
Using this strategy, binary data is encoded using the Base64 encoding scheme as specified in RFC 4648 and RFC 2045.- See Also:
-
BASE_64_URL
Using this strategy, binary data is encoded using the "URL and Filename safe Base64 Alphabet" as specified in Table 2 of RFC 4648.- See Also:
-