c

tiscaf

HTalk

final class HTalk extends AnyRef

This is the way an tiscaf.HLet accesses to the world. It provides a way to access the request data, as well as a way to send response to the client.

Source
HTalk.scala
Note

if the response is not chunked, nor buffered (e.g. gzipped), implementor must set the response length explicitly.

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

Instance Constructors

  1. new HTalk(data: HTalkData)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def bytes(s: String): Array[Byte]
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  7. def encoding: String

    Request parameters encoding and response encoding.

  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[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def getHeader(name: String): Option[String]
  13. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def headers: Map[String, String]
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. def removeHeader(name: String): Option[String]
  20. val req: HReqData

    Request data.

  21. def setCharacterEncoding(charset: String): HTalk
  22. def setContentLength(length: Long): HTalk
  23. def setContentType(cType: String): HTalk
  24. def setHeader(name: String, value: String): HTalk
  25. def setStatus(code: HStatus.Value, msg: String): HTalk
  26. def setStatus(code: HStatus.Value): HTalk
  27. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  28. def toString(): String
    Definition Classes
    AnyRef → Any
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  32. def write(s: String): HTalk
  33. def write(ar: Array[Byte]): HTalk
  34. def write(ar: Array[Byte], offset: Int, length: Int): HTalk
  35. object ses extends Map[Any, Any]

    The current session

Inherited from AnyRef

Inherited from Any

Ungrouped