HttpMethod

org.scalatra.HttpMethod$
See theHttpMethod companion trait
object HttpMethod

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
HttpMethod.type

Members list

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

def apply(name: String): HttpMethod

Maps a String as an HttpMethod.

Maps a String as an HttpMethod.

Value parameters

name

a string representing an HttpMethod

Attributes

Returns

the matching common HttpMethod, or an instance of ExtensionMethod if no method matches

Concrete fields

val methods: Set[HttpMethod]

The set of common HTTP methods: GET, HEAD, POST, PUT, DELETE, TRACE, CONNECT, and PATCH.

The set of common HTTP methods: GET, HEAD, POST, PUT, DELETE, TRACE, CONNECT, and PATCH.

Attributes