Class BinaryDataStrategy

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 via JsonbConfig.withBinaryDataStrategy(String).
Since:
JSON Binding 1.0
See Also:
  • Field Summary Link icon

    Fields
    Modifier and Type
    Field
    Description
    static 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 Link icon

    Methods inherited from class java.lang.Object Link icon

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details Link icon

    • BYTE Link icon

      public static final String BYTE
      Using this strategy, binary data is encoded as a byte array. Default encoding strategy.
      See Also:
    • BASE_64 Link icon

      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:
    • BASE_64_URL Link icon

      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: