trait ModifiableRequest[T <: ModifiableRequest[T]] extends AnyRef
A comon trait to provide utility methods for mutating the underlying HttpServletRequest.
- Self Type
- T
- Alphabetic
- By Inheritance
- ModifiableRequest
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract val req: HttpServletRequest
Concrete 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 clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- 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()
- 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()
- 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(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()
- def withMods(f: (MockHttpServletRequest) => Unit): T
Allows you to specify your own modification function for the servlet request prior to initialization.
- def withPost(node: NodeSeq): T
Modifies the request to POST the given request body XML.
- def withPost(jval: JValue): T
Modifies the request to POST the given request body JSON.
- def withPost(text: String, contentType: String = "text/plain"): T
Modifies the request to POST the given request body text.
Modifies the request to POST the given request body text. Optionally, you can set the content type (defaults to "text/plain")
- def withPut(node: NodeSeq): T
Modifies the request to PUT the given request body XML.
- def withPut(jval: JValue): T
Modifies the request to PUT the given request body JSON.
- def withPut(text: String, contentType: String = "text/plain"): T
Modifies the request to PUT the given request body text.
Modifies the request to PUT the given request body text. Optionally, you can set the content type (defaults to "text/plain")