abstract class HttpMethod extends AnyRef

Represents an HTTP request method. See HttpMethods for a set of predefined methods and static constructors to create custom ones.

Source
HttpMethod.java
See also

HttpMethods for convenience access to often used values.

Linear Supertypes
Known Subclasses
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HttpMethod
  2. AnyRef
  3. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new HttpMethod()

Abstract Value Members

  1. abstract def isEntityAccepted(): Boolean

    Returns if requests with this method may contain an entity.

  2. abstract def isIdempotent(): Boolean

    Returns if this method is "idempotent" as defined in http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-26#section-4.2.2

  3. abstract def isSafe(): Boolean

    Returns if this method is "safe" as defined in http://tools.ietf.org/html/draft-ietf-httpbis-p2-semantics-26#section-4.2.1

  4. abstract def requestEntityAcceptance(): RequestEntityAcceptance

    Returns the entity acceptance level for this method.

  5. abstract def value(): String

    Returns the name of the method.

Concrete Value Members

  1. final def name(): String

    Returns the name of the method, always equal to value.