Packages

object helper

Created by pach on 13/01/17.

Source
helper.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. helper
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. val ://: ByteVector
  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. val SP: ByteVector
  6. val _equal: ByteVector
  7. val alwaysQuotedUtf8String: Codec[String]
  8. val amp: ByteVector
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def asciiConstant(const: String): Codec[Unit]

    encodes by supplied constant.

    encodes by supplied constant. Whitespace is ignored *

  11. val asciiString: Codec[String]

    string encoded // decoded as ASCII *

  12. val base64Encoded: Codec[ByteVector]
  13. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. val colon: ByteVector
  15. val comma: ByteVector
  16. def commaDelimited[A](valueCodec: Codec[A]): Codec[List[A]]

    Codec for decoding comma delimited parameters from header.

    Codec for decoding comma delimited parameters from header. When encoding, the comma is always followed by [SP]

    When decoding, the parameters are tested if they are quoted strings and if yes, the comma is skipped if within quotes

  17. def commaDelimitedMin[A](codec: Codec[A], min: Int): Codec[List[A]]
  18. val comma_SP: ByteVector
  19. val crlf: ByteVector
  20. val dash: ByteVector
  21. def delimitedBy[A](by: ByteVector, encodeBy: ByteVector, valueCodec: Codec[A]): Codec[List[A]]

    Codec for decoding delimited parameters from header.

    Codec for decoding delimited parameters from header. When encoding, the encodeBy is used to encode A delimiter

    When decoding, the parameters are tested if they are quoted strings and if yes, the by is skipped if within quotes

  22. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  23. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  24. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  25. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  26. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  27. val httpDateTimeCodec: Codec[LocalDateTime]

    encodes // decodes time by http time format *

  28. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  29. def localDateTime2String(ldt: LocalDateTime): String

    RFC 1123 date 2 string *

  30. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  31. final def notify(): Unit
    Definition Classes
    AnyRef
  32. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  33. def parametrized[A, B](discriminator: ByteVector, aCodec: Codec[A], bCodec: Codec[B]): Codec[(A, Option[B])]

    A codec, that allows to encode/decode parametrized values A by parameter B.

    A codec, that allows to encode/decode parametrized values A by parameter B. Parameter is optional and is discriminated by discriminator

  34. def parametrized2[A, B](discriminator: ByteVector, encodingDiscriminator: ByteVector, aCodec: Codec[A], bCodec: Codec[B]): Codec[(A, Option[B])]
  35. def parametrizedN[A, B](discriminator: ByteVector, encodingDiscriminator: ByteVector, aCodec: Codec[A], bCodec: Codec[B]): Codec[(A, List[B])]

    A codec, that allows to encode/decode parametrized values A by optional parameters of B.

    A codec, that allows to encode/decode parametrized values A by optional parameters of B. Parameter is optional (may be N), and is discriminated by discriminator

    furthermore if the discriminator is found in quotes (") it is ignored until cloiong quotes are found

  36. val qPar: ByteVector
  37. val qValueCodec: Codec[Float]

    codec for qValue in multiple parameter lists*

  38. val quotedString: Codec[String]

    coder for strings that may be quoted *

  39. val semicolon: ByteVector
  40. val semicolon_SP: ByteVector
  41. val slash: ByteVector
  42. def splitByQuoted(delimiter: ByteVector, content: BitVector): (BitVector, BitVector)

    splits by delimiter, honoring quoted commas *

  43. def splitByWS(content: BitVector): (BitVector, BitVector)
  44. val star: ByteVector
  45. val starCodec: Codec[Unit]

    codec that succeeds, iff star (*) is present *

  46. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  47. def toString(): String
    Definition Classes
    AnyRef → Any
  48. val trimmedAsciiString: Codec[String]

    ascii string that is trimmed of WS *

  49. val trimmedUtf8String: Codec[String]

    utf8 string that is trimmed of WS *

  50. def tuple[A, B](discriminator: ByteVector, acodec: Codec[A], bCodec: Codec[B]): Codec[(A, B)]

    Tuple A, B separated by discriminator.

    Tuple A, B separated by discriminator. This will first search for discriminator, and if match will apply A codec nad B codec to remaining bits, if any.

  51. val utf8String: Codec[String]

    string encoded // decoded as UTF8 *

  52. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  53. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  54. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  55. def whitespace(encodeAs: String = " "): Codec[Unit]

    codec that strips all whitespace, and encodes as supplied string *

Inherited from AnyRef

Inherited from Any

Ungrouped