- java.lang.Object
-
- jakarta.json.bind.config.BinaryDataStrategy
-
public final class BinaryDataStrategy extends Object
Specifies predefined binary data handling strategies. This strategy can be set viaJsonbConfig.withBinaryDataStrategy(String)
.- Since:
- JSON Binding 1.0
- See Also:
JsonbConfig
-
-
Field Summary
Fields Modifier and Type Field Description static String
BASE_64
Using this strategy, binary data is encoded using the Base64 encoding scheme as specified in RFC 4648 and RFC 2045.static String
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.static String
BYTE
Using this strategy, binary data is encoded as a byte array.
-
-
-
Field Detail
-
BYTE
public static final String BYTE
Using this strategy, binary data is encoded as a byte array. Default encoding strategy.- See Also:
- Constant Field Values
-
BASE_64
public static final String BASE_64
Using this strategy, binary data is encoded using the Base64 encoding scheme as specified in RFC 4648 and RFC 2045.- See Also:
- Constant Field Values
-
BASE_64_URL
public static final String 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:
- Constant Field Values
-
-