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
- Alphabetic
- By Inheritance
Inherited
- HTalk
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new HTalk(data: HTalkData)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
- def bytes(s: String): Array[Byte]
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
encoding: String
Request parameters encoding and response encoding.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def getHeader(name: String): Option[String]
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def headers: Map[String, String]
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def removeHeader(name: String): Option[String]
-
val
req: HReqData
Request data.
- def setCharacterEncoding(charset: String): HTalk
- def setContentLength(length: Long): HTalk
- def setContentType(cType: String): HTalk
- def setHeader(name: String, value: String): HTalk
- def setStatus(code: HStatus.Value, msg: String): HTalk
- def setStatus(code: HStatus.Value): HTalk
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
- def write(s: String): HTalk
- def write(ar: Array[Byte]): HTalk
- def write(ar: Array[Byte], offset: Int, length: Int): HTalk
-
object
ses extends Map[Any, Any]
The current session