net.liftweb.http.rest.RestHelper
An extractor that tests the request to see if it's a DELETE and if it is, the path and the request are extracted. It can be used as:
case "api" :: id :: _ Delete req => ...
case Delete("api" :: id :: _, req) => ...
case Delete("api" :: id :: _, req) => ... case "api" :: id :: _ Delete req => ... or
An extractor that tests the request to see if it's a DELETE and if it is, the path and the request are extracted. It can be used as:
or
case Delete("api" :: id :: _, req) => ... case "api" :: id :: _ Delete req => ... or
case Delete("api" :: id :: _, req) => ...