Class

razie.diesel.exec

SnakkCall

Related Doc: package exec

Permalink

case class SnakkCall(protocol: String, method: String, url: String, headers: Map[String, String], content: String, template: Option[DTemplate] = None) extends Product with Serializable

a single snakk call to make - goes beyond Snakk.body

protocol

http, telnet

method

GET, POST, open etc

Linear Supertypes
Serializable, Serializable, Product, Equals, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SnakkCall
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SnakkCall(protocol: String, method: String, url: String, headers: Map[String, String], content: String, template: Option[DTemplate] = None)

    Permalink

    protocol

    http, telnet

    method

    GET, POST, open etc

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 body: String

    Permalink
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. val content: String

    Permalink
  8. def eContent: EContent

    Permalink

    make the call and return all details

  9. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  10. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def findTemplateParms(content: String): List[String]

    Permalink

    parse template and find all parameters

  12. def future: Future[SnakkResponse]

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

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

    Permalink
  15. var iContentType: Option[String]

    Permalink

    response content type

  16. var iHeaders: Option[Map[String, String]]

    Permalink

    response headers

  17. var ibody: Option[String]

    Permalink

    response body

  18. var icode: Option[Int]

    Permalink

    response code

  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. def isJson(ct: Option[String]): Boolean

    Permalink
  21. def isXml(ct: Option[String]): Boolean

    Permalink
  22. def isurl: SnakkUrl

    Permalink
  23. def makeCall: String

    Permalink
  24. val method: String

    Permalink

    GET, POST, open etc

  25. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  28. def parseIncoming(incoming: String, inSpecs: List[P], incomingMetas: NVP): NVP

    Permalink

    use this call/template to parse incoming message (either request to us or a reply).

    use this call/template to parse incoming message (either request to us or a reply).

    in this case, this.content is the template

  29. def parseIncomingJson(incoming: String, inSpecs: List[P], incomingMetas: NVP): NVP

    Permalink

    use this call/template to parse incoming message (either request to us or a reply)

  30. def parseIncomingMatch(incoming: String, inSpecs: List[P], incomingMetas: NVP): NVP

    Permalink

    parse incoming message with pattern matching

  31. def parseIncomingTemplate(content: String, incoming: String, inSpecs: List[P], incomingMetas: NVP, expandAll: Boolean = false): NVP

    Permalink

    parse incoming message with pattern matching

  32. def parseIncomingXml(incoming: String, inSpecs: List[P], incomingMetas: NVP): NVP

    Permalink

    use this call/template to parse incoming message (either request to us or a reply)

  33. def parseUrl(turl: String, url: String, inSpecs: List[P], incomingMetas: NVP): NVP

    Permalink

    parse a templetized url

    parse a templetized url

    turl

    template

    url

    incoming

  34. def postContent: Option[String]

    Permalink
  35. var pro: Option[Promise[SnakkResponse]]

    Permalink
  36. val protocol: String

    Permalink

    http, telnet

  37. def root: Option[Wrapper[_]]

    Permalink

    xp root for either xml or json body

  38. def setUrl(u: SnakkUrl): SnakkCall

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

    Permalink
    Definition Classes
    AnyRef
  40. def telnet(hostname: String, port: String, send: Option[String], info: Option[InfoAccumulator]): String

    Permalink

    snakk content from a telnet connection

    snakk content from a telnet connection

    send

    commands to send (separated by \n)

  41. val template: Option[DTemplate]

    Permalink
  42. def toCurl: String

    Permalink
  43. def toJson: String

    Permalink
  44. def toSnakkRequest(id: String = ""): SnakkRequest

    Permalink
  45. val url: String

    Permalink
  46. final def wait(): Unit

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

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

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

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from AnyRef

Inherited from Any

Ungrouped