Trait

endpoints

EndpointAlg

Related Doc: package endpoints

Permalink

trait EndpointAlg extends UrlAlg

Algebra interface for defining endpoints made of requests and responses.

Requests and responses contain headers and entity.

Source
EndpointAlg.scala
Linear Supertypes
UrlAlg, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EndpointAlg
  2. UrlAlg
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. abstract type Endpoint[A, B]

    Permalink
  2. abstract type Headers[A]

    Permalink
  3. abstract type Path[A] <: PathOps[A] with Url[A]

    Permalink
    Definition Classes
    UrlAlg
  4. trait PathOps[A] extends AnyRef

    Permalink
    Definition Classes
    UrlAlg
  5. abstract type QueryString[A] <: QueryStringOps[A]

    Permalink
    Definition Classes
    UrlAlg
  6. trait QueryStringOps[A] extends AnyRef

    Permalink
    Definition Classes
    UrlAlg
  7. abstract type QueryStringValue[A]

    Permalink
    Definition Classes
    UrlAlg
  8. abstract type Request[A]

    Permalink
  9. abstract type RequestEntity[A]

    Permalink
  10. abstract type Response[A]

    Permalink
  11. abstract type Segment[A]

    Permalink
    Definition Classes
    UrlAlg
  12. abstract type Url[A]

    Permalink
    Definition Classes
    UrlAlg

Abstract Value Members

  1. abstract def chainPaths[A, B](first: Path[A], second: Path[B])(implicit tupler: Tupler[A, B]): Path[Out]

    Permalink
    Definition Classes
    UrlAlg
  2. abstract def combineQueryStrings[A, B](first: QueryString[A], second: QueryString[B])(implicit tupler: Tupler[A, B]): QueryString[Out]

    Permalink
    Definition Classes
    UrlAlg
  3. abstract def emptyHeaders: Headers[Unit]

    Permalink
  4. abstract def emptyResponse: Response[Unit]

    Permalink
  5. abstract def endpoint[A, B](request: Request[A], response: Response[B]): Endpoint[A, B]

    Permalink
  6. abstract def get[A, B](url: Url[A], headers: Headers[B] = emptyHeaders)(implicit tupler: Tupler[A, B]): Request[Out]

    Permalink
  7. implicit abstract def intQueryString: QueryStringValue[Int]

    Permalink
    Definition Classes
    UrlAlg
  8. implicit abstract def intSegment: Segment[Int]

    Permalink
    Definition Classes
    UrlAlg
  9. abstract def post[A, B, C, AB](url: Url[A], entity: RequestEntity[B], headers: Headers[C] = emptyHeaders)(implicit tuplerAB: Tupler.Aux[A, B, AB], tuplerABC: Tupler[AB, C]): Request[Out]

    Permalink
  10. abstract def qs[A](name: String)(implicit value: QueryStringValue[A]): QueryString[A]

    Permalink
    Definition Classes
    UrlAlg
  11. abstract def segment[A](implicit s: Segment[A]): Path[A]

    Permalink
    Definition Classes
    UrlAlg
  12. abstract def staticPathSegment(segment: String): Path[Unit]

    Permalink
    Definition Classes
    UrlAlg
  13. implicit abstract def stringQueryString: QueryStringValue[String]

    Permalink
    Definition Classes
    UrlAlg
  14. implicit abstract def stringSegment: Segment[String]

    Permalink
    Definition Classes
    UrlAlg
  15. abstract def urlWithQueryString[A, B](path: Path[A], qs: QueryString[B])(implicit tupler: Tupler[A, B]): Url[Out]

    Permalink
    Definition Classes
    UrlAlg

Concrete 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 clone(): AnyRef

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  15. val path: Path[Unit]

    Permalink
    Definition Classes
    UrlAlg
  16. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from UrlAlg

Inherited from AnyRef

Inherited from Any

Ungrouped