Trait

io.finch.route

RouterCombinators

Related Doc: package route

Permalink

trait RouterCombinators extends AnyRef

A collection of Router combinators.

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. RouterCombinators
  2. AnyRef
  3. Any
  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. final def ==(arg0: Any): Boolean

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

    Permalink
    Definition Classes
    Any
  5. def basicAuth[A](user: String, password: String)(r: Router[A]): Router[A]

    Permalink

    A combinator that wraps the given Router with Basic HTTP Auth, configured with credentials user and password.

  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def connect[A]: (Router[A]) ⇒ Router[A]

    Permalink

    A combinator that wraps the given Router with additional check of the HTTP method.

    A combinator that wraps the given Router with additional check of the HTTP method. The resulting Router succeeds on the request only if its method is CONNECT and the underlying router succeeds on it.

  8. def delete[A]: (Router[A]) ⇒ Router[A]

    Permalink

    A combinator that wraps the given Router with additional check of the HTTP method.

    A combinator that wraps the given Router with additional check of the HTTP method. The resulting Router succeeds on the request only if its method is DELETE and the underlying router succeeds on it.

  9. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. def get[A]: (Router[A]) ⇒ Router[A]

    Permalink

    A combinator that wraps the given Router with additional check of the HTTP method.

    A combinator that wraps the given Router with additional check of the HTTP method. The resulting Router succeeds on the request only if its method is GET and the underlying router succeeds on it.

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  15. def head[A]: (Router[A]) ⇒ Router[A]

    Permalink

    A combinator that wraps the given Router with additional check of the HTTP method.

    A combinator that wraps the given Router with additional check of the HTTP method. The resulting Router succeeds on the request only if its method is HEAD and the underlying router succeeds on it.

  16. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  20. def options[A]: (Router[A]) ⇒ Router[A]

    Permalink

    A combinator that wraps the given Router with additional check of the HTTP method.

    A combinator that wraps the given Router with additional check of the HTTP method. The resulting Router succeeds on the request only if its method is OPTIONS and the underlying router succeeds on it.

  21. def patch[A]: (Router[A]) ⇒ Router[A]

    Permalink

    A combinator that wraps the given Router with additional check of the HTTP method.

    A combinator that wraps the given Router with additional check of the HTTP method. The resulting Router succeeds on the request only if its method is PATCH and the underlying router succeeds on it.

  22. def post[A]: (Router[A]) ⇒ Router[A]

    Permalink

    A combinator that wraps the given Router with additional check of the HTTP method.

    A combinator that wraps the given Router with additional check of the HTTP method. The resulting Router succeeds on the request only if its method is POST and the underlying router succeeds on it.

  23. def put[A]: (Router[A]) ⇒ Router[A]

    Permalink

    A combinator that wraps the given Router with additional check of the HTTP method.

    A combinator that wraps the given Router with additional check of the HTTP method. The resulting Router succeeds on the request only if its method is PUT and the underlying router succeeds on it.

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  26. def trace[A]: (Router[A]) ⇒ Router[A]

    Permalink

    A combinator that wraps the given Router with additional check of the HTTP method.

    A combinator that wraps the given Router with additional check of the HTTP method. The resulting Router succeeds on the request only if its method is TRACE and the underlying router succeeds on it.

  27. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped