Object

io.finch.Endpoints

strings

Related Doc: package Endpoints

Permalink

object strings extends TailExtractor[String]

An Endpoint that extract a string tail from the route.

Linear Supertypes
TailExtractor[String], Serializable, Serializable, Product, Equals, Endpoint[Seq[String]], AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. strings
  2. TailExtractor
  3. Serializable
  4. Serializable
  5. Product
  6. Equals
  7. Endpoint
  8. AnyRef
  9. 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. def /[B](that: Endpoint[B])(implicit adjoin: PairAdjoin[Seq[String], B]): Endpoint[internal.PairAdjoin.Out]

    Permalink

    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
  4. def :+:[B](that: Endpoint[B])(implicit adjoin: Adjoin[:+:[B, :+:[Seq[String], CNil]]]): Endpoint[shapeless.ops.adjoin.Adjoin.Out]

    Permalink

    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
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. def ?[B](that: RequestReader[B])(implicit adjoin: PairAdjoin[Seq[String], B]): Endpoint[internal.PairAdjoin.Out]

    Permalink

    Composes this endpoint with the given RequestReader.

    Composes this endpoint with the given RequestReader.

    Definition Classes
    Endpoint
  7. def ap[B](fn: Endpoint[(Seq[String]) ⇒ B]): Endpoint[B]

    Permalink

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

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

    Definition Classes
    Endpoint
  8. def apply(n: String): Endpoint[Seq[String]]

    Permalink
    Definition Classes
    TailExtractor
  9. def apply(input: Input): Result[Seq[String]]

    Permalink

    Extracts some value of type A from the given input.

    Extracts some value of type A from the given input.

    Definition Classes
    TailExtractorEndpoint
  10. def apply(mapper: Mapper[Seq[String]]): Endpoint[Out]

    Permalink

    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
  11. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def embedFlatMap[B](fn: (Seq[String]) ⇒ Future[B]): Endpoint[B]

    Permalink

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

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

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

    Permalink
    Definition Classes
    AnyRef
  15. val f: (String) ⇒ Option[String]

    Permalink
    Definition Classes
    TailExtractor
  16. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  18. def handle[B >: Seq[String]](pf: PartialFunction[Throwable, Output[B]]): Endpoint[B]

    Permalink

    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
  19. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  20. def map[B](fn: (Seq[String]) ⇒ B): Endpoint[B]

    Permalink

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

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

    Definition Classes
    Endpoint
  21. val name: String

    Permalink
    Definition Classes
    TailExtractor
  22. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  25. def rescue[B >: Seq[String]](pf: PartialFunction[Throwable, Future[Output[B]]]): Endpoint[B]

    Permalink

    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
  26. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  27. def toService(implicit ts: ToService[Seq[String]]): Service[Request, Response]

    Permalink

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

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

    Definition Classes
    Endpoint
  28. def toString(): String

    Permalink
    Definition Classes
    TailExtractor → AnyRef → Any
  29. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. def withCharset(charset: Option[String]): Endpoint[Seq[String]]

    Permalink
    Definition Classes
    Endpoint
  33. def withContentType(contentType: Option[String]): Endpoint[Seq[String]]

    Permalink
    Definition Classes
    Endpoint
  34. def withCookie(cookie: Cookie): Endpoint[Seq[String]]

    Permalink
    Definition Classes
    Endpoint
  35. def withFilter(p: (Seq[String]) ⇒ Boolean): Endpoint[Seq[String]]

    Permalink
    Definition Classes
    Endpoint
  36. def withHeader(header: (String, String)): Endpoint[Seq[String]]

    Permalink
    Definition Classes
    Endpoint
  37. def |[B >: Seq[String]](that: Endpoint[B]): Endpoint[B]

    Permalink

    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 TailExtractor[String]

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Endpoint[Seq[String]]

Inherited from AnyRef

Inherited from Any

Ungrouped