Class/Object

razie.diesel.engine

EContent

Related Docs: object EContent | package engine

Permalink

class EContent extends AnyRef

a REST request or response: content and type and processing thereof

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EContent
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new EContent(body: String, contentType: String, code: Int = 200, headers: Map[String, String] = Map.empty, iroot: Option[Wrapper[_]] = None, raw: Option[Array[Byte]] = None)

    Permalink

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def asJsonPayload: P

    Permalink
  6. val body: String

    Permalink
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val code: Int

    Permalink
  9. val contentType: String

    Permalink
  10. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. def ex(n: String, d: String, e: String, oe: Option[Expr]): (String, String)

    Permalink

    name, default, expr

    name, default, expr

    will replace a.b.c with a/b/@c and a/b/c with a/b/@c

  13. def exists(f: (P) ⇒ Boolean): Boolean

    Permalink
  14. def extract(templateSpecs: Map[String, String], spec: Seq[(String, String, String, Option[Expr])], regex: Option[String], contentType: Option[String] = None): List[(String, String)]

    Permalink

    extract the values and expressions from a response

    extract the values and expressions from a response

    templateSpecs

    a list of name/expression

    spec

    a list of name/default/expression

    regex

    an optional regex with named groups

  15. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  16. def get(name: String): Option[String]

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

    Permalink
    Definition Classes
    AnyRef → Any
  18. lazy val hasValues: ListWrapper[_45] forSome {type _45 >: _$2 with String, type _$2}

    Permalink
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. val headers: Map[String, String]

    Permalink
  21. def headersp: P

    Permalink

    headers as a nice lowercase P

  22. def httpCodep: P

    Permalink

    headers as a nice lowercase P

  23. val iroot: Option[Wrapper[_]]

    Permalink
  24. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  25. def isJson: Boolean

    Permalink
  26. def isXml: Boolean

    Permalink
  27. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. lazy val r: BaseWrapper[_47] forSome {type _47 >: _45 with _$2, type _45 >: _$2 with String, type _$2, type _$2}

    Permalink
  31. val raw: Option[Array[Byte]]

    Permalink
  32. lazy val root: Wrapper[_]

    Permalink

    xp root for either xml or json body

  33. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  34. def toString(): String

    Permalink
    Definition Classes
    EContent → AnyRef → Any
  35. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped