io.finch.Endpoints

Patch

object Patch extends MethodMatcher

Annotations
@deprecated
Deprecated

(Since version 0.9.1) Use method patch: Endpoint[A] => Endpoint[A] instead

Linear Supertypes
MethodMatcher, Endpoint[HNil], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Patch
  2. MethodMatcher
  3. Endpoint
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def /[B](that: Endpoint[B])(implicit adjoin: PairAdjoin[HNil, B]): Endpoint[PairAdjoin.Out]

    Composes this endpoint with the given that endpoint.

    Composes this endpoint with the given that endpoint. The resulting endpoint will succeed only if both this and that endpoints succeed.

    Definition Classes
    Endpoint
  5. def :+:[B](that: Endpoint[B])(implicit adjoin: Adjoin[:+:[B, :+:[HNil, CNil]]]): Endpoint[shapeless.ops.adjoin.Adjoin.Out]

    Composes this endpoint with another in such a way that coproducts are flattened.

    Composes this endpoint with another in such a way that coproducts are flattened.

    Definition Classes
    Endpoint
  6. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  7. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  8. def ?[B](that: RequestReader[B])(implicit adjoin: PairAdjoin[HNil, B]): Endpoint[PairAdjoin.Out]

    Composes this endpoint with the given RequestReader.

    Composes this endpoint with the given RequestReader.

    Definition Classes
    Endpoint
  9. def ap[B](fn: Endpoint[(HNil) ⇒ B]): Endpoint[B]

    Maps this endpoint to Endpoint[A => B].

    Maps this endpoint to Endpoint[A => B].

    Definition Classes
    Endpoint
  10. def apply(input: Input): Option[(Input, () ⇒ Future[Output[HNil]])]

    Extracts some value of type A from the given input.

    Extracts some value of type A from the given input.

    Definition Classes
    MethodMatcher → Endpoint
  11. def apply(mapper: Mapper[HNil]): Endpoint[Out]

    Maps this endpoint to either A => Output[B] or A => Output[Future[B]].

    Maps this endpoint to either A => Output[B] or A => Output[Future[B]].

    Definition Classes
    Endpoint
  12. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  13. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  14. def embedFlatMap[B](fn: (HNil) ⇒ Future[B]): Endpoint[B]

    Maps this endpoint to the given function A => Future[B].

    Maps this endpoint to the given function A => Future[B].

    Definition Classes
    Endpoint
  15. final def eq(arg0: AnyRef): Boolean

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

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

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

    Definition Classes
    AnyRef → Any
  19. def handle[B >: HNil](pf: PartialFunction[Throwable, Output[B]]): Endpoint[B]

    Recovers from any exception occurred in this endpoint by creating a new endpoint that will handle any matching throwable from the underlying future.

    Recovers from any exception occurred in this endpoint by creating a new endpoint that will handle any matching throwable from the underlying future.

    Definition Classes
    Endpoint
  20. def hashCode(): Int

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

    Definition Classes
    Any
  22. def map[B](fn: (HNil) ⇒ B): Endpoint[B]

    Maps this endpoint to the given function A => B.

    Maps this endpoint to the given function A => B.

    Definition Classes
    Endpoint
  23. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  24. final def notify(): Unit

    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  26. def rescue[B >: HNil](pf: PartialFunction[Throwable, Future[Output[B]]]): Endpoint[B]

    Recovers from any exception occurred in this endpoint by creating a new endpoint that will handle any matching throwable from the underlying future.

    Recovers from any exception occurred in this endpoint by creating a new endpoint that will handle any matching throwable from the underlying future.

    Definition Classes
    Endpoint
  27. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  28. def toService(implicit ts: ToService[HNil]): Service[Request, Response]

    Converts this endpoint to a Finagle service Request => Future[Response].

    Converts this endpoint to a Finagle service Request => Future[Response].

    Definition Classes
    Endpoint
  29. def toString(): String

    Definition Classes
    MethodMatcher → AnyRef → Any
  30. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. def withCharset(charset: Option[String]): Endpoint[HNil]

    Definition Classes
    Endpoint
  34. def withContentType(contentType: Option[String]): Endpoint[HNil]

    Definition Classes
    Endpoint
  35. def withCookie(cookie: Cookie): Endpoint[HNil]

    Definition Classes
    Endpoint
  36. def withFilter(p: (HNil) ⇒ Boolean): Endpoint[HNil]

    Definition Classes
    Endpoint
  37. def withHeader(header: (String, String)): Endpoint[HNil]

    Definition Classes
    Endpoint
  38. def |[B >: HNil](that: Endpoint[B]): Endpoint[B]

    Sequentially composes this endpoint with the given that endpoint.

    Sequentially composes this endpoint with the given that endpoint. The resulting router will succeed if either this or that endpoints are succeed.

    Definition Classes
    Endpoint

Inherited from MethodMatcher

Inherited from Endpoint[HNil]

Inherited from AnyRef

Inherited from Any

Ungrouped