Trait/Object

akka.http.scaladsl.server.directives

MethodDirectives

Related Docs: object MethodDirectives | package directives

Permalink

trait MethodDirectives extends AnyRef

Source
MethodDirectives.scala
Linear Supertypes
AnyRef, Any
Known Subclasses
Type Hierarchy
Ordering
  1. Grouped
  2. Alphabetic
  3. By Inheritance
Inherited
  1. MethodDirectives
  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. All

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from MethodDirectives to any2stringadd[MethodDirectives] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (MethodDirectives, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from MethodDirectives to ArrowAssoc[MethodDirectives] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. def delete: Directive0

    Permalink

    Rejects all non-DELETE requests.

  9. def ensuring(cond: (MethodDirectives) ⇒ Boolean, msg: ⇒ Any): MethodDirectives

    Permalink
    Implicit information
    This member is added by an implicit conversion from MethodDirectives to Ensuring[MethodDirectives] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  10. def ensuring(cond: (MethodDirectives) ⇒ Boolean): MethodDirectives

    Permalink
    Implicit information
    This member is added by an implicit conversion from MethodDirectives to Ensuring[MethodDirectives] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: Boolean, msg: ⇒ Any): MethodDirectives

    Permalink
    Implicit information
    This member is added by an implicit conversion from MethodDirectives to Ensuring[MethodDirectives] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean): MethodDirectives

    Permalink
    Implicit information
    This member is added by an implicit conversion from MethodDirectives to Ensuring[MethodDirectives] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. def extractMethod: Directive1[HttpMethod]

    Permalink

    Extracts the request method.

  16. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from MethodDirectives to StringFormat[MethodDirectives] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  18. def get: Directive0

    Permalink

    Rejects all non-GET requests.

  19. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  21. def head: Directive0

    Permalink

    Rejects all non-HEAD requests.

  22. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  23. def method(httpMethod: HttpMethod): Directive0

    Permalink

    Rejects all requests whose HTTP method does not match the given one.

  24. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  27. def options: Directive0

    Permalink

    Rejects all non-OPTIONS requests.

  28. def overrideMethodWithParameter(paramName: String): Directive0

    Permalink

    Changes the HTTP method of the request to the value of the specified query string parameter.

    Changes the HTTP method of the request to the value of the specified query string parameter. If the query string parameter is not specified this directive has no effect. If the query string is specified as something that is not a HTTP method, then this directive completes the request with a 501 Not Implemented response.

    This directive is useful for:

    • Use in combination with JSONP (JSONP only supports GET)
    • Supporting older browsers that lack support for certain HTTP methods. E.g. IE8 does not support PATCH
  29. def patch: Directive0

    Permalink

    Rejects all non-PATCH requests.

  30. def post: Directive0

    Permalink

    Rejects all non-POST requests.

  31. def put: Directive0

    Permalink

    Rejects all non-PUT requests.

  32. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  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( ... )
  37. def [B](y: B): (MethodDirectives, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from MethodDirectives to ArrowAssoc[MethodDirectives] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from MethodDirectives to any2stringadd[MethodDirectives]

Inherited by implicit conversion StringFormat from MethodDirectives to StringFormat[MethodDirectives]

Inherited by implicit conversion Ensuring from MethodDirectives to Ensuring[MethodDirectives]

Inherited by implicit conversion ArrowAssoc from MethodDirectives to ArrowAssoc[MethodDirectives]

Method directives

Ungrouped