io.finch.Endpoints

strings

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
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[Seq[String], B]): Endpoint[internal.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, :+:[Seq[String], 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[Seq[String], B]): Endpoint[internal.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[(Seq[String]) ⇒ B]): Endpoint[B]

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

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

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

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

    Extracts some value of type A from the given input.

    Extracts some value of type A from the given input.

    Definition Classes
    TailExtractorEndpoint
  12. def apply(mapper: Mapper[Seq[String]]): 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
  13. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  14. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  15. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    TailExtractor
  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 >: Seq[String]](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. final def isInstanceOf[T0]: Boolean

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

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

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

    Definition Classes
    Endpoint
  22. def mapAsync[B](fn: (Seq[String]) ⇒ 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
  23. def mapOutput[B](fn: (Seq[String]) ⇒ Output[B]): Endpoint[B]

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

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

    Definition Classes
    Endpoint
  24. def mapOutputAsync[B](fn: (Seq[String]) ⇒ Future[Output[B]]): Endpoint[B]

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

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

    Definition Classes
    Endpoint
  25. val name: String

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

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

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

    Definition Classes
    AnyRef
  29. def rescue[B >: Seq[String]](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
  30. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  31. def toService(implicit ts: ToService[Seq[String]]): 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
  32. def toString(): String

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

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

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

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

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

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

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

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

    Definition Classes
    Endpoint
  41. def |[B >: Seq[String]](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

Deprecated Value Members

  1. def embedFlatMap[B](fn: (Seq[String]) ⇒ Future[B]): Endpoint[B]

    Definition Classes
    Endpoint
    Annotations
    @deprecated
    Deprecated

    (Since version 0.9.3) Use Endpoint.mapAsync instead

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