Object/Class

com.avsystem.commons.rest

HttpMethod

Related Docs: class HttpMethod | package rest

Permalink

object HttpMethod extends AbstractValueEnumCompanion[HttpMethod] with Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HttpMethod
  2. Serializable
  3. Serializable
  4. AbstractValueEnumCompanion
  5. ValueEnumCompanion
  6. AbstractNamedEnumCompanion
  7. NamedEnumCompanion
  8. AbstractSealedEnumCompanion
  9. SealedEnumCompanion
  10. AnyRef
  11. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. final class ValName extends AnyRef

    Permalink
    Attributes
    protected[this]
    Definition Classes
    ValueEnumCompanion
  2. type Value = HttpMethod

    Permalink
    Definition Classes
    ValueEnumCompanion

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final val CONNECT: Value

    Permalink
  5. final val DELETE: Value

    Permalink
  6. final val GET: Value

    Permalink
  7. final val HEAD: Value

    Permalink
  8. final val OPTIONS: Value

    Permalink
  9. final val PATCH: Value

    Permalink
  10. final val POST: Value

    Permalink
  11. final val PUT: Value

    Permalink
  12. final val TRACE: Value

    Permalink
  13. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  14. lazy val byName: Map[String, HttpMethod]

    Permalink

    Returns a map from all case objects names to their instances.

    Returns a map from all case objects names to their instances. Since byName uses caseObjects macro it does NOT guarantee an order of elements. It is also essential to provide unique names for each case object in the sealed hierarchy to retrieve valid hierarchy.

    Definition Classes
    NamedEnumCompanion
  15. macro def caseObjects: List[HttpMethod]

    Permalink

    A macro which reifies a list of all case objects of the sealed trait or class T.

    A macro which reifies a list of all case objects of the sealed trait or class T. WARNING: the order of case objects in the resulting list is well defined only for enums that extend OrderedEnum. In such case, the order is consistent with declaration order in source file. However, if the enum is not an OrderedEnum, the order may be arbitrary.

    Attributes
    protected
    Definition Classes
    SealedEnumCompanion
  16. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. implicit lazy val codec: GenCodec[HttpMethod]

    Permalink
    Definition Classes
    NamedEnumCompanion
  18. implicit def enumCtx(implicit valName: ValName): EnumCtx

    Permalink
    Attributes
    protected[this]
    Definition Classes
    ValueEnumCompanion
  19. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  21. implicit def evidence: HttpMethod.this.type

    Permalink

    Thanks to this implicit, SealedEnumCompanion and its subtraits can be used as typeclasses.

    Thanks to this implicit, SealedEnumCompanion and its subtraits can be used as typeclasses.

    Definition Classes
    SealedEnumCompanion
  22. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  23. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  24. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. implicit lazy val keyCodec: GenKeyCodec[HttpMethod]

    Permalink
    Definition Classes
    NamedEnumCompanion
  27. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  28. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  29. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  31. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  32. implicit macro def valName: ValName

    Permalink
    Attributes
    protected[this]
    Definition Classes
    ValueEnumCompanion
  33. final lazy val values: commons.IIndexedSeq[HttpMethod]

    Permalink

    Holds an indexed sequence of all enum values, ordered by their ordinal (values(i).ordinal is always equal to i).

    Holds an indexed sequence of all enum values, ordered by their ordinal (values(i).ordinal is always equal to i).

    Definition Classes
    ValueEnumCompanionSealedEnumCompanion
  34. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  35. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from ValueEnumCompanion[HttpMethod]

Inherited from NamedEnumCompanion[HttpMethod]

Inherited from AnyRef

Inherited from Any

Ungrouped