Packages

object RouteResult extends LowerPriorityRouteResultImplicits

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RouteResult
  2. LowerPriorityRouteResultImplicits
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. final case class Complete(response: HttpResponse) extends javadsl.server.Complete with RouteResult with Product with Serializable
  2. final case class Rejected(rejections: Seq[Rejection]) extends javadsl.server.Rejected with RouteResult with Product with Serializable

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @HotSpotIntrinsicCandidate() @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  8. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  9. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  10. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  11. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  12. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  13. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @native()
  14. implicit def routeToFlow(route: Route)(implicit system: ClassicActorSystemProvider): Flow[HttpRequest, HttpResponse, NotUsed]

    Turns a Route into a server flow.

    Turns a Route into a server flow.

    This implicit conversion is defined here because Route is an alias for RequestContext => Future[RouteResult], and the fact that RouteResult is in that type means this implicit conversion come into scope whereever a Route is given but a Flow is expected.

  15. implicit def routeToFunction(route: Route)(implicit system: ClassicActorSystemProvider): (HttpRequest) => Future[HttpResponse]

    Turns a Route into a server function.

    Turns a Route into a server function.

    This implicit conversion is defined here because Route is an alias for RequestContext => Future[RouteResult], and the fact that RouteResult is in that type means this implicit conversion come into scope whereever a Route is given but a Function[HttpRequest, Future[HttpResponse] is expected.

  16. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  17. def toString(): String
    Definition Classes
    AnyRef → Any
  18. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  19. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  20. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

  2. def route2HandlerFlow(route: Route)(implicit routingSettings: RoutingSettings, parserSettings: ParserSettings, materializer: Materializer, routingLog: RoutingLog, executionContext: ExecutionContext = null, rejectionHandler: RejectionHandler = RejectionHandler.default, exceptionHandler: ExceptionHandler = null): Flow[HttpRequest, HttpResponse, NotUsed]
    Annotations
    @deprecated
    Deprecated

    (Since version 10.2.0) Replaced by routeToFlow

  3. implicit def routeToFlowViaMaterializer(route: Route)(implicit materializer: Materializer): Flow[HttpRequest, HttpResponse, NotUsed]

    Turns a Route into a server flow.

    Turns a Route into a server flow.

    This implicit conversion is defined here because Route is an alias for RequestContext => Future[RouteResult], and the fact that RouteResult is in that type means this implicit conversion come into scope whereever a Route is given but a Flow is expected.

    Definition Classes
    LowerPriorityRouteResultImplicits
    Annotations
    @deprecated
    Deprecated

    (Since version 10.2.0) make an ActorSystem available implicitly instead

Inherited from AnyRef

Inherited from Any

Ungrouped