MethodOverride

org.scalatra.MethodOverride
See theMethodOverride companion object
trait MethodOverride extends Handler, ServletApiImplicits

Mixin for clients that only support a limited set of HTTP verbs. If the request is a POST and the _method request parameter is set, the value of the _method parameter is treated as the request's method.

Attributes

Companion
object
Graph
Supertypes
trait Handler
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def handle(req: HttpServletRequest, res: HttpServletResponse): Unit

Handles a request and writes to the response.

Handles a request and writes to the response.

Attributes

Implicits

Inherited implicits

implicit def enrichRequest(request: HttpServletRequest): RichRequest

Attributes

Inherited from:
ServletApiImplicits
implicit def enrichResponse(response: HttpServletResponse): RichResponse

Attributes

Inherited from:
ServletApiImplicits
implicit def enrichServletContext(servletContext: ServletContext): RichServletContext

Attributes

Inherited from:
ServletApiImplicits
implicit def enrichSession(session: HttpSession): RichSession

Attributes

Inherited from:
ServletApiImplicits