Class

jabroni.rest.exchange

ExchangeRoutes

Related Doc: package exchange

Permalink

case class ExchangeRoutes(exchange: ServerSideExchange)(implicit mat: Materializer) extends FailFastCirceSupport with RouteLoggingSupport with Product with Serializable

Handles:

PUT rest/exchange/submit PUT rest/exchange/subscribe POST rest/exchange/take

POST rest/exchange/subscriptions POST rest/exchange/jobs

see ExchangeHttp for the client-side of this

See also

http://doc.akka.io/docs/akka-stream-and-http-experimental/1.0/scala/http/routing-dsl/index.html

Linear Supertypes
Serializable, Serializable, Product, Equals, RouteLoggingSupport, FailFastCirceSupport, FailFastUnmarshaller, NoSpacesPrinter, BaseCirceSupport, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ExchangeRoutes
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. RouteLoggingSupport
  7. FailFastCirceSupport
  8. FailFastUnmarshaller
  9. NoSpacesPrinter
  10. BaseCirceSupport
  11. AnyRef
  12. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new ExchangeRoutes(exchange: ServerSideExchange)(implicit mat: Materializer)

    Permalink

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. def entityAsString(entity: HttpEntity)(implicit m: Materializer): Future[String]

    Permalink
    Definition Classes
    RouteLoggingSupport
  7. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  8. val exchange: ServerSideExchange

    Permalink
  9. def finalize(): Unit

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. def health: Route

    Permalink
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. implicit final val jsonMarshaller: ToEntityMarshaller[Json]

    Permalink
    Definition Classes
    BaseCirceSupport
  14. implicit final val jsonUnmarshaller: FromEntityUnmarshaller[Json]

    Permalink
    Definition Classes
    BaseCirceSupport
  15. def logRoute(route: Route, level: LogLevel = Logging.InfoLevel)(implicit m: Materializer): Route

    Permalink
    Definition Classes
    RouteLoggingSupport
  16. implicit final def marshaller[A](implicit arg0: Encoder[A]): ToEntityMarshaller[A]

    Permalink
    Definition Classes
    BaseCirceSupport
  17. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  20. final def printer: Printer

    Permalink
    Definition Classes
    NoSpacesPrinter
  21. object query

    Permalink

    Support routes to query the state of the exchange (queues)

  22. def routes: Route

    Permalink
  23. object submission

    Permalink

    Routes for pushing work (requesting work from) workers

  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. implicit final def unmarshaller[A](implicit arg0: Decoder[A]): FromEntityUnmarshaller[A]

    Permalink
    Definition Classes
    FailFastUnmarshaller
  26. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. object worker

    Permalink

    subscription routes called from workers requesting work

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from RouteLoggingSupport

Inherited from FailFastCirceSupport

Inherited from FailFastUnmarshaller

Inherited from NoSpacesPrinter

Inherited from BaseCirceSupport

Inherited from AnyRef

Inherited from Any

Ungrouped