Unsafe

object Unsafe
class Object
trait Matchable
class Any
Unsafe.type

Value members

Concrete methods

def addContentHandler(async: UnsafeAsync)(implicit ctx: Ctx): Unit
def attemptAutoRead[R, E](config: Config[R, E])(implicit ctx: Ctx): Unit

Enables auto-read if possible. Also performs the first read.

Enables auto-read if possible. Also performs the first read.

def canHaveBody(jReq: HttpRequest): Boolean
def contentIsRead(implicit ctx: Ctx): Boolean
def releaseRequest(jReq: FullHttpRequest, cnt: Int): Unit
def setAutoRead(cond: Boolean)(implicit ctx: Ctx): Unit
def setContentReadAttr(flag: Boolean)(implicit ctx: Ctx): Unit
def setServerTime(time: ServerTime, response: Response, jResponse: HttpResponse): Unit

Sets the server time on the response if required

Sets the server time on the response if required