trait RequestEnv extends ParamAccess
All core state variables for a request are here. All other variables in Helper and Controller can be inferred from these variables.
- Self Type
- Action
- Alphabetic
- By Inheritance
- RequestEnv
- ParamAccess
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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
- def apply(handlerEnv: HandlerEnv): Unit
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- lazy val at: At
- def atJson(key: String): String
- lazy val bodyFileParams: FileUploadParams
File params in request body.
- lazy val bodyTextParams: Params
Params in request body.
- lazy val channel: Channel
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def convertTextParam[T](key: String, value: String)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T]): T
Applications may override this method to convert to more types.
Applications may override this method to convert to more types.
- Definition Classes
- ParamAccess
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- val handlerEnv: HandlerEnv
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- 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 param[T](key: String, coll: Params)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T], d: DefaultsTo[T, String]): T
- Definition Classes
- ParamAccess
- def param[T](key: String)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T], d: DefaultsTo[T, String]): T
- Definition Classes
- ParamAccess
- def paramo[T](key: String, coll: Params)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T], d: DefaultsTo[T, String]): Option[T]
- Definition Classes
- ParamAccess
- def paramo[T](key: String)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T], d: DefaultsTo[T, String]): Option[T]
- Definition Classes
- ParamAccess
- def params[T](key: String, coll: Params)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T], d: DefaultsTo[T, String]): Seq[T]
- Definition Classes
- ParamAccess
- def params[T](key: String)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[T], d: DefaultsTo[T, String]): Seq[T]
- Definition Classes
- ParamAccess
- lazy val pathParams: Params
Params embedded in the path.
Params embedded in the path. Ex: /articles/:id
- lazy val queryParams: Params
Params after the question mark of the URL.
Params after the question mark of the URL. Ex: /search?q=xitrum
- lazy val request: FullHttpRequest
- lazy val requestContentJValue: JValue
The whole request body parsed as JSON4S JValue.
The whole request body parsed as JSON4S JValue. You can use SeriDeseri.fromJValue to convert this to Scala object (case class, Map, Seq etc.).
- lazy val requestContentString: String
The whole request body as String.
- lazy val response: FullHttpResponse
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- lazy val textParams: Params
The merge of all text params (queryParams, bodyParams, and pathParams), as contrast to file upload (bodyFileParams).
- def toString(): String
- Definition Classes
- AnyRef → Any
- lazy val urlParams: Params
The merge of queryParams and pathParams, things that appear in the request URL.
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()