Object/Class

mod.diesel.model.exec

EESnakk

Related Docs: class EESnakk | package exec

Permalink

object EESnakk

snakk REST and formatting/parsing utilities

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

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. val BRACKET_EXPR_PAT: Regex

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def caughtSnakkException(t: Throwable, httpOptions: Map[String, Any], response: String): InfoAccumulator

    Permalink
  7. def clone(): AnyRef

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  10. def expandExpr(url: String, attrs: Option[Attrs], ctx: Option[ECtx]): String

    Permalink

    prepare the template content - expand $parm expressions

  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def formatFfd(in: EMsg, destSpec: Option[EMsg])(implicit ctx: ECtx): List[Any]

    Permalink

    format FFD output string with a schema

    format FFD output string with a schema

    $msg snakk.ffd (x, schema="Spec:myschema", result="authMsg")

  13. def formatTemplate(content: String, ctx: ECtx): String

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  16. def html(s: String, len: Int = 2000): String

    Permalink
  17. def httpOptions(attrs: Attrs)(implicit ctx: ECtx): Map[String, Any]

    Permalink
  18. final def isInstanceOf[T0]: Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef
  22. def parseHttpTemplate(template: Option[DTemplate], is: String, attrs: Attrs, ctx: Option[ECtx]): SnakkCall

    Permalink
  23. def parseTelnetTemplate(t: Option[DTemplate], is: String, attrs: Attrs, ctx: Option[ECtx]): SnakkCall

    Permalink
  24. def parseTemplate(t: Option[DTemplate], is: String, attrs: Attrs, ctx: Option[ECtx] = None): SnakkCall

    Permalink

    parse a template into a SNakkCall

    parse a template into a SNakkCall

    {{template rest.create}} POST /diesel/fiddle/react/rest/mcreate?name=$name&address=$address&resultMode=json sso_token : joe 123456 content-type: application/json * { "p1" : 1, "p2" : 2 } {{/template}}

  25. def prepStr(url: String, attrs: Attrs, ctx: Option[ECtx]): String

    Permalink

    prepare the template content - expand $parm expressions

  26. def prepStr2(content: String, attrs: Attrs, allowSimpleExpansion: Boolean = true)(implicit ctx: ECtx): String

    Permalink

    prepare the template content - expand ${parm} expressions - WITH SUPPORT FOR SIMPLE EXPRESSIONS

  27. def prepUrl(url: String, attrs: Attrs, ctx: Option[ECtx]): String

    Permalink

    prepare the URL - expand $parm expressions

  28. def relativeUrl(u: String)(implicit ctx: ECtx): String

    Permalink
  29. def scFromMsg(attrs: Attrs)(implicit ctx: ECtx): SnakkCall

    Permalink

    extract a snakk call from message args - good for snakk.json and snakk.xml

  30. def scFromMsgTelnet(attrs: Attrs)(implicit ctx: ECtx): SnakkCall

    Permalink

    extract a snakk call from message args - good for snakk.json and snakk.xml

  31. def snakkFfd(in: EMsg, destSpec: Option[EMsg])(implicit ctx: ECtx): List[Any]

    Permalink

    parse FFD input string with a schema

    parse FFD input string with a schema

    $msg snakk.ffd (x, schema="Spec:myschema", result="authMsg")

  32. def snakkHttpOptions(attrs: Attrs)(implicit ctx: ECtx): List[P]

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

    Permalink
    Definition Classes
    AnyRef
  34. def templateMatchesUrl(t: DTemplate, verb: String, path: String, content: String): Option[Map[String, String]]

    Permalink

    does template match url and verb - used to match incoming http to configured templates

    does template match url and verb - used to match incoming http to configured templates

    t

    template to test

    verb

    verb to test, use "*" for any

  35. def toString(): String

    Permalink
    Definition Classes
    EESnakk → AnyRef → Any
  36. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped