Trait

endpoints.akkahttp.server

JsonEntities

Related Doc: package server

Permalink

trait JsonEntities extends algebra.JsonEntities with Endpoints

Interpreter for algebra.JsonEntities

To use it mix in support for your favourite Json library You can use one of hseeberger/akka-http-json modules

Source
JsonEntities.scala
Linear Supertypes
Endpoints, Methods, Urls, algebra.JsonEntities, algebra.Endpoints, Responses, Requests, algebra.Methods, algebra.Urls, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. JsonEntities
  2. Endpoints
  3. Methods
  4. Urls
  5. JsonEntities
  6. Endpoints
  7. Responses
  8. Requests
  9. Methods
  10. Urls
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. case class Endpoint[A, B](request: Request[A], response: Response[B]) extends Product with Serializable

    Permalink
    Definition Classes
    Endpoints
  2. type JsonRequest[A] = Unmarshaller[HttpRequest, A]

    Permalink
    Definition Classes
    JsonEntities → JsonEntities
  3. type JsonResponse[A] = Marshaller[A, HttpResponse]

    Permalink
    Definition Classes
    JsonEntities → JsonEntities
  4. type Method = HttpMethod

    Permalink
    Definition Classes
    Methods → Methods
  5. class MuxEndpoint[Req <: MuxRequest, Resp, Transport] extends AnyRef

    Permalink
    Definition Classes
    Endpoints
  6. class Path[T] extends Url[T]

    Permalink
    Definition Classes
    Urls
  7. implicit class PathOps[A] extends AnyRef

    Permalink
    Definition Classes
    Urls
  8. class QueryString[T] extends AnyRef

    Permalink
    Definition Classes
    Urls
  9. implicit class QueryStringOps[A] extends AnyRef

    Permalink
    Definition Classes
    Urls
  10. type QueryStringParam[T] = Unmarshaller[String, T]

    Permalink
    Definition Classes
    Urls → Urls
  11. type Request[A] = Directive[(A)]

    Permalink
    Definition Classes
    Endpoints → Requests
  12. type RequestEntity[A] = Directive[(A)]

    Permalink
    Definition Classes
    Endpoints → Requests
  13. type RequestHeaders[A] = Directive[(A)]

    Permalink
    Definition Classes
    Endpoints → Requests
  14. type Response[A] = (A) ⇒ Route

    Permalink
    Definition Classes
    Endpoints → Responses
  15. type Segment[T] = PathMatcher[(T)]

    Permalink
    Definition Classes
    Urls → Urls
  16. class Url[T] extends AnyRef

    Permalink
    Definition Classes
    Urls

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. def Delete: HttpMethod

    Permalink
    Definition Classes
    Methods → Methods
  5. def Get: HttpMethod

    Permalink
    Definition Classes
    Methods → Methods
  6. def Post: HttpMethod

    Permalink
    Definition Classes
    Methods → Methods
  7. def Put: HttpMethod

    Permalink
    Definition Classes
    Methods → Methods
  8. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  9. def chainPaths[A, B](first: Path[A], second: Path[B])(implicit tupler: Tupler[A, B]): Path[Out]

    Permalink
    Definition Classes
    Urls → Urls
  10. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. def combineQueryStrings[A, B](first: QueryString[A], second: QueryString[B])(implicit tupler: Tupler[A, B]): QueryString[Out]

    Permalink
    Definition Classes
    Urls → Urls
  12. def convToDirective1(directive: Directive0): Directive1[Unit]

    Permalink
    Attributes
    protected
    Definition Classes
    Urls
  13. def emptyHeaders: RequestHeaders[Unit]

    Permalink
    Definition Classes
    Endpoints → Requests
  14. def emptyRequest: RequestEntity[Unit]

    Permalink
    Definition Classes
    Endpoints → Requests
  15. def emptyResponse: Response[Unit]

    Permalink
    Definition Classes
    Endpoints → Responses
  16. def endpoint[A, B](request: Request[A], response: Response[B]): Endpoint[A, B]

    Permalink
    Definition Classes
    Endpoints → Endpoints
  17. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  20. final def get[A, B](url: Url[A], headers: RequestHeaders[B])(implicit tuplerAC: Tupler[A, B]): Request[Out]

    Permalink
    Definition Classes
    Requests
  21. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  23. implicit def intQueryString: QueryStringParam[Int]

    Permalink
    Definition Classes
    Urls → Urls
  24. implicit def intSegment: Segment[Int]

    Permalink
    Definition Classes
    Urls → Urls
  25. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  26. def joinDirectives[T1, T2](dir1: Directive1[T1], dir2: Directive1[T2])(implicit tupler: Tupler[T1, T2]): Directive1[Out]

    Permalink

    Simpler alternative to Directive.&() method

    Simpler alternative to Directive.&() method

    Attributes
    protected
    Definition Classes
    Urls
  27. def jsonRequest[A](implicit arg0: JsonRequest[A]): RequestEntity[A]

    Permalink
    Definition Classes
    JsonEntities → JsonEntities
  28. def jsonResponse[A](implicit arg0: JsonResponse[A]): Response[A]

    Permalink
    Definition Classes
    JsonEntities → JsonEntities
  29. implicit def longQueryString: QueryStringParam[Long]

    Permalink
    Definition Classes
    Urls → Urls
  30. implicit def longSegment: Segment[Long]

    Permalink
    Definition Classes
    Urls → Urls
  31. def muxEndpoint[Req <: MuxRequest, Resp, Transport](request: Request[Transport], response: Response[Transport]): MuxEndpoint[Req, Resp, Transport]

    Permalink
    Definition Classes
    Endpoints → Endpoints
  32. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  35. def optQs[A](name: String)(implicit value: QueryStringParam[A]): QueryString[Option[A]]

    Permalink
    Definition Classes
    Urls → Urls
  36. val path: Path[Unit]

    Permalink
    Definition Classes
    Urls
  37. final def post[A, B, C, AB](url: Url[A], entity: RequestEntity[B], headers: RequestHeaders[C])(implicit tuplerAB: Tupler.Aux[A, B, AB], tuplerABC: Tupler[AB, C]): Request[Out]

    Permalink
    Definition Classes
    Requests
  38. def qs[A](name: String)(implicit value: QueryStringParam[A]): QueryString[A]

    Permalink
    Definition Classes
    Urls → Urls
  39. def request[A, B, C, AB](method: Method, url: Url[A], entity: RequestEntity[B] = emptyRequest, headers: RequestHeaders[C] = emptyHeaders)(implicit tuplerAB: Tupler.Aux[A, B, AB], tuplerABC: Tupler[AB, C]): Request[Out]

    Permalink
    Definition Classes
    Endpoints → Requests
  40. def segment[A](implicit s: Segment[A]): Path[A]

    Permalink
    Definition Classes
    Urls → Urls
  41. def staticPathSegment(segment: String): Path[Unit]

    Permalink
    Definition Classes
    Urls → Urls
  42. implicit def stringQueryString: QueryStringParam[String]

    Permalink
    Definition Classes
    Urls → Urls
  43. implicit def stringSegment: Segment[String]

    Permalink
    Definition Classes
    Urls → Urls
  44. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  45. def textResponse: Response[String]

    Permalink
    Definition Classes
    Endpoints → Responses
  46. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  47. def urlWithQueryString[A, B](path: Path[A], qs: QueryString[B])(implicit tupler: Tupler[A, B]): Url[Out]

    Permalink
    Definition Classes
    Urls → Urls
  48. final def wait(): Unit

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

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

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

Inherited from Endpoints

Inherited from Methods

Inherited from Urls

Inherited from algebra.JsonEntities

Inherited from algebra.Endpoints

Inherited from Responses

Inherited from Requests

Inherited from algebra.Methods

Inherited from algebra.Urls

Inherited from AnyRef

Inherited from Any

Ungrouped