xitrum.util

SeriDeseri

object SeriDeseri

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SeriDeseri
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  9. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  10. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def fromBase64(base64String: String): Option[Array[Byte]]

  12. def fromBytes[T](bytes: Array[Byte])(implicit m: Manifest[T]): Option[T]

  13. def fromJson[T](jsonString: String)(implicit m: Manifest[T]): Option[T]

    Converts JSON to Scala object (case class, Map, Seq etc.

    Converts JSON to Scala object (case class, Map, Seq etc.). If you want to do more complicated things, you should use JSON4S directly: https://github.com/json4s/json4s

  14. def fromSecureUrlSafeBase64[T](base64String: String, key: String, forCookie: Boolean)(implicit m: Manifest[T]): Option[T]

    base64String

    may contain optional padding ("=" characters)

    forCookie

    If true, tries to GZIP uncompress if the input is compressed

  15. def fromSecureUrlSafeBase64[T](base64String: String, forCookie: Boolean = false)(implicit m: Manifest[T]): Option[T]

    Decrypts using the key in config/xitrum.

    Decrypts using the key in config/xitrum.conf. Combination of Secure and UrlSafeBase64.

  16. def fromUrlSafeBase64(base64String: String): Option[Array[Byte]]

    base64String

    may contain optional padding ("=" characters)

  17. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  24. def toBase64(bytes: Array[Byte]): String

  25. def toBytes(any: Any): Array[Byte]

  26. def toJson(scalaObject: AnyRef): String

    Converts Scala object (case class, Map, Seq etc.

    Converts Scala object (case class, Map, Seq etc.) to JSON. If you want to do more complicated things, you should use JSON4S directly: https://github.com/json4s/json4s

  27. def toSecureUrlSafeBase64(any: Any, key: String, forCookie: Boolean): String

    The result contains no padding ("=" characters) so that it can be used as request parameter name.

    The result contains no padding ("=" characters) so that it can be used as request parameter name. (Netty POST body decoder prohibits "=" in parameter name.)

    See http://en.wikipedia.org/wiki/Base_64#Padding

    forCookie

    If true, tries to GZIP compress if > 4KB; the result may > 4KB

  28. def toSecureUrlSafeBase64(any: Any, forCookie: Boolean = false): String

    Encrypts using the key in config/xitrum.

    Encrypts using the key in config/xitrum.conf. Combination of Secure and UrlSafeBase64.

  29. def toString(): String

    Definition Classes
    AnyRef → Any
  30. def toUrlSafeBase64(bytes: Array[Byte]): String

    The result contains no padding ("=" characters) so that it can be used as request parameter name.

    The result contains no padding ("=" characters) so that it can be used as request parameter name. (Netty POST body decoder prohibits "=" in parameter name.)

    See http://en.wikipedia.org/wiki/Base_64#Padding

  31. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped