akka.http.javadsl

server

package server

Content Hierarchy Learn more about scaladoc diagrams
Visibility
  1. Public
  2. All

Type Members

  1. abstract class AbstractDirective extends Directive

  2. abstract class AllDirectives extends WebsocketDirectives

  3. trait AsyncHandler extends Function[RequestContext, Future[RouteResult]]

    A route Handler that handles a request (that is encapsulated in a RequestContext) and returns a scala.concurrent.Future of RouteResult with the response (or the rejection).

  4. trait AsyncHandler1[T1] extends Function2[RequestContext, T1, Future[RouteResult]]

    A route Handler that handles a request (that is encapsulated in a RequestContext) and returns a scala.concurrent.Future of RouteResult with the response (or the rejection).

  5. trait AsyncHandler10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10] extends Function11[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, Future[RouteResult]]

    A route Handler that handles a request (that is encapsulated in a RequestContext) and returns a scala.concurrent.Future of RouteResult with the response (or the rejection).

  6. trait AsyncHandler11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11] extends Function12[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, Future[RouteResult]]

    A route Handler that handles a request (that is encapsulated in a RequestContext) and returns a scala.concurrent.Future of RouteResult with the response (or the rejection).

  7. trait AsyncHandler12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12] extends Function13[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, Future[RouteResult]]

    A route Handler that handles a request (that is encapsulated in a RequestContext) and returns a scala.concurrent.Future of RouteResult with the response (or the rejection).

  8. trait AsyncHandler13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13] extends Function14[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, Future[RouteResult]]

    A route Handler that handles a request (that is encapsulated in a RequestContext) and returns a scala.concurrent.Future of RouteResult with the response (or the rejection).

  9. trait AsyncHandler14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14] extends Function15[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, Future[RouteResult]]

    A route Handler that handles a request (that is encapsulated in a RequestContext) and returns a scala.concurrent.Future of RouteResult with the response (or the rejection).

  10. trait AsyncHandler15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15] extends Function16[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, Future[RouteResult]]

    A route Handler that handles a request (that is encapsulated in a RequestContext) and returns a scala.concurrent.Future of RouteResult with the response (or the rejection).

  11. trait AsyncHandler16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16] extends Function17[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, Future[RouteResult]]

    A route Handler that handles a request (that is encapsulated in a RequestContext) and returns a scala.concurrent.Future of RouteResult with the response (or the rejection).

  12. trait AsyncHandler17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17] extends Function18[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, Future[RouteResult]]

    A route Handler that handles a request (that is encapsulated in a RequestContext) and returns a scala.concurrent.Future of RouteResult with the response (or the rejection).

  13. trait AsyncHandler18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18] extends Function19[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, Future[RouteResult]]

    A route Handler that handles a request (that is encapsulated in a RequestContext) and returns a scala.concurrent.Future of RouteResult with the response (or the rejection).

  14. trait AsyncHandler19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19] extends Function20[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, Future[RouteResult]]

    A route Handler that handles a request (that is encapsulated in a RequestContext) and returns a scala.concurrent.Future of RouteResult with the response (or the rejection).

  15. trait AsyncHandler2[T1, T2] extends Function3[RequestContext, T1, T2, Future[RouteResult]]

    A route Handler that handles a request (that is encapsulated in a RequestContext) and returns a scala.concurrent.Future of RouteResult with the response (or the rejection).

  16. trait AsyncHandler20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20] extends Function21[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, Future[RouteResult]]

    A route Handler that handles a request (that is encapsulated in a RequestContext) and returns a scala.concurrent.Future of RouteResult with the response (or the rejection).

  17. trait AsyncHandler21[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21] extends Function22[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, Future[RouteResult]]

    A route Handler that handles a request (that is encapsulated in a RequestContext) and returns a scala.concurrent.Future of RouteResult with the response (or the rejection).

  18. trait AsyncHandler3[T1, T2, T3] extends Function4[RequestContext, T1, T2, T3, Future[RouteResult]]

    A route Handler that handles a request (that is encapsulated in a RequestContext) and returns a scala.concurrent.Future of RouteResult with the response (or the rejection).

  19. trait AsyncHandler4[T1, T2, T3, T4] extends Function5[RequestContext, T1, T2, T3, T4, Future[RouteResult]]

    A route Handler that handles a request (that is encapsulated in a RequestContext) and returns a scala.concurrent.Future of RouteResult with the response (or the rejection).

  20. trait AsyncHandler5[T1, T2, T3, T4, T5] extends Function6[RequestContext, T1, T2, T3, T4, T5, Future[RouteResult]]

    A route Handler that handles a request (that is encapsulated in a RequestContext) and returns a scala.concurrent.Future of RouteResult with the response (or the rejection).

  21. trait AsyncHandler6[T1, T2, T3, T4, T5, T6] extends Function7[RequestContext, T1, T2, T3, T4, T5, T6, Future[RouteResult]]

    A route Handler that handles a request (that is encapsulated in a RequestContext) and returns a scala.concurrent.Future of RouteResult with the response (or the rejection).

  22. trait AsyncHandler7[T1, T2, T3, T4, T5, T6, T7] extends Function8[RequestContext, T1, T2, T3, T4, T5, T6, T7, Future[RouteResult]]

    A route Handler that handles a request (that is encapsulated in a RequestContext) and returns a scala.concurrent.Future of RouteResult with the response (or the rejection).

  23. trait AsyncHandler8[T1, T2, T3, T4, T5, T6, T7, T8] extends Function9[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, Future[RouteResult]]

    A route Handler that handles a request (that is encapsulated in a RequestContext) and returns a scala.concurrent.Future of RouteResult with the response (or the rejection).

  24. trait AsyncHandler9[T1, T2, T3, T4, T5, T6, T7, T8, T9] extends Function10[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, Future[RouteResult]]

    A route Handler that handles a request (that is encapsulated in a RequestContext) and returns a scala.concurrent.Future of RouteResult with the response (or the rejection).

  25. class Coder extends Enum[Coder]

  26. abstract class CustomRequestVal[T] extends StandaloneExtractionImpl[T]

    Extend from this class and implement extractValue to create a custom request val.

  27. trait Directive extends AnyRef

  28. trait ExceptionHandler extends AnyRef

  29. trait Handler extends Function[RequestContext, RouteResult]

    A route Handler that handles a request (that is encapsulated in a RequestContext) and returns a RouteResult with the response (or the rejection).

  30. trait Handler1[T1] extends Function2[RequestContext, T1, RouteResult]

    A route Handler that handles a request (that is encapsulated in a RequestContext) and returns a RouteResult with the response (or the rejection).

  31. trait Handler10[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10] extends Function11[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, RouteResult]

    A route Handler that handles a request (that is encapsulated in a RequestContext) and returns a RouteResult with the response (or the rejection).

  32. trait Handler11[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11] extends Function12[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, RouteResult]

    A route Handler that handles a request (that is encapsulated in a RequestContext) and returns a RouteResult with the response (or the rejection).

  33. trait Handler12[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12] extends Function13[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, RouteResult]

    A route Handler that handles a request (that is encapsulated in a RequestContext) and returns a RouteResult with the response (or the rejection).

  34. trait Handler13[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13] extends Function14[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, RouteResult]

    A route Handler that handles a request (that is encapsulated in a RequestContext) and returns a RouteResult with the response (or the rejection).

  35. trait Handler14[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14] extends Function15[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, RouteResult]

    A route Handler that handles a request (that is encapsulated in a RequestContext) and returns a RouteResult with the response (or the rejection).

  36. trait Handler15[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15] extends Function16[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, RouteResult]

    A route Handler that handles a request (that is encapsulated in a RequestContext) and returns a RouteResult with the response (or the rejection).

  37. trait Handler16[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16] extends Function17[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, RouteResult]

    A route Handler that handles a request (that is encapsulated in a RequestContext) and returns a RouteResult with the response (or the rejection).

  38. trait Handler17[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17] extends Function18[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, RouteResult]

    A route Handler that handles a request (that is encapsulated in a RequestContext) and returns a RouteResult with the response (or the rejection).

  39. trait Handler18[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18] extends Function19[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, RouteResult]

    A route Handler that handles a request (that is encapsulated in a RequestContext) and returns a RouteResult with the response (or the rejection).

  40. trait Handler19[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19] extends Function20[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, RouteResult]

    A route Handler that handles a request (that is encapsulated in a RequestContext) and returns a RouteResult with the response (or the rejection).

  41. trait Handler2[T1, T2] extends Function3[RequestContext, T1, T2, RouteResult]

    A route Handler that handles a request (that is encapsulated in a RequestContext) and returns a RouteResult with the response (or the rejection).

  42. trait Handler20[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20] extends Function21[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, RouteResult]

    A route Handler that handles a request (that is encapsulated in a RequestContext) and returns a RouteResult with the response (or the rejection).

  43. trait Handler21[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21] extends Function22[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19, T20, T21, RouteResult]

    A route Handler that handles a request (that is encapsulated in a RequestContext) and returns a RouteResult with the response (or the rejection).

  44. trait Handler3[T1, T2, T3] extends Function4[RequestContext, T1, T2, T3, RouteResult]

    A route Handler that handles a request (that is encapsulated in a RequestContext) and returns a RouteResult with the response (or the rejection).

  45. trait Handler4[T1, T2, T3, T4] extends Function5[RequestContext, T1, T2, T3, T4, RouteResult]

    A route Handler that handles a request (that is encapsulated in a RequestContext) and returns a RouteResult with the response (or the rejection).

  46. trait Handler5[T1, T2, T3, T4, T5] extends Function6[RequestContext, T1, T2, T3, T4, T5, RouteResult]

    A route Handler that handles a request (that is encapsulated in a RequestContext) and returns a RouteResult with the response (or the rejection).

  47. trait Handler6[T1, T2, T3, T4, T5, T6] extends Function7[RequestContext, T1, T2, T3, T4, T5, T6, RouteResult]

    A route Handler that handles a request (that is encapsulated in a RequestContext) and returns a RouteResult with the response (or the rejection).

  48. trait Handler7[T1, T2, T3, T4, T5, T6, T7] extends Function8[RequestContext, T1, T2, T3, T4, T5, T6, T7, RouteResult]

    A route Handler that handles a request (that is encapsulated in a RequestContext) and returns a RouteResult with the response (or the rejection).

  49. trait Handler8[T1, T2, T3, T4, T5, T6, T7, T8] extends Function9[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, RouteResult]

    A route Handler that handles a request (that is encapsulated in a RequestContext) and returns a RouteResult with the response (or the rejection).

  50. trait Handler9[T1, T2, T3, T4, T5, T6, T7, T8, T9] extends Function10[RequestContext, T1, T2, T3, T4, T5, T6, T7, T8, T9, RouteResult]

    A route Handler that handles a request (that is encapsulated in a RequestContext) and returns a RouteResult with the response (or the rejection).

  51. abstract class HttpApp extends AllDirectives with HttpServiceBase

    A convenience class to derive from to get everything from HttpService and Directives into scope.

  52. trait HttpServiceBase extends AnyRef

  53. trait Marshaller[T] extends AnyRef

    A marker trait for a marshaller that converts a value of type T to an HttpResponse.

  54. trait RequestContext extends AnyRef

    The RequestContext represents the state of the request while it is routed through the route structure.

  55. trait RequestVal[T] extends AnyRef

    Represents a value that can be extracted from a request.

  56. trait Route extends AnyRef

    A marker interface to denote an element that handles a request.

  57. trait RouteResult extends AnyRef

    A marker trait to denote the result of handling a request.

  58. trait Unmarshaller[T] extends AnyRef

    A marker trait for an unmarshaller that converts an HttpRequest to a value of type T.

Value Members

  1. object Directives extends AllDirectives

  2. object HttpService extends HttpServiceBase

    Provides the entrypoints to create an Http server from a route.

  3. object Marshallers

    A collection of predefined marshallers.

  4. object RequestVals

    A collection of predefined RequestVals.

  5. object Unmarshallers

  6. package directives

  7. package examples

  8. package values

Ungrouped