Interface CursorEncoder


public interface CursorEncoder
Encodes and decodes cursor tokens. The default implementation uses URL-safe Base64 without padding.
Since:
1.0.0
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final CursorEncoder
     
  • Method Summary

    Modifier and Type
    Method
    Description
    decode(String value)
    Decode the encoded cursor value back to its raw form.
    encode(String value)
    Encode the raw cursor value to a transport-safe string.
  • Field Details

  • Method Details

    • encode

      String encode(String value)
      Encode the raw cursor value to a transport-safe string.
    • decode

      String decode(String value)
      Decode the encoded cursor value back to its raw form.