java.lang.Object
org.springframework.data.redis.connection.util.DecodeUtils

@Deprecated(since="4.0", forRemoval=true) public abstract class DecodeUtils extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
since 4.0 for removal. Use Base64 encoding and decoding methods directly.
Simple class containing various decoding utilities.
Author:
Costin Leau, Christoph Strobl, Mark Paluch
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static List<byte[]>
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static Set<byte[]>
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static String
    decode(byte[] bytes)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static Map<String,byte[]>
    decodeMap(Map<byte[],byte[]> tuple)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static String[]
    decodeMultiple(byte[]... bytes)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static byte @Nullable []
    encode(@Nullable String string)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    static Map<byte[],byte[]>
    encodeMap(Map<String,byte[]> map)
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • DecodeUtils

      public DecodeUtils()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • decode

      public static String decode(byte[] bytes)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • decodeMultiple

      public static String[] decodeMultiple(byte[]... bytes)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • encode

      public static byte @Nullable [] encode(@Nullable String string)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • encodeMap

      public static Map<byte[],byte[]> encodeMap(Map<String,byte[]> map)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • decodeMap

      public static Map<String,byte[]> decodeMap(Map<byte[],byte[]> tuple)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • convertToSet

      public static Set<byte[]> convertToSet(Collection<String> keys)
      Deprecated, for removal: This API element is subject to removal in a future version.
    • convertToList

      public static List<byte[]> convertToList(Collection<String> keys)
      Deprecated, for removal: This API element is subject to removal in a future version.