akka.http.scaladsl.server.directives

BasicDirectives

object BasicDirectives extends BasicDirectives

Source
BasicDirectives.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. BasicDirectives
  2. BasicDirectives
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  7. def cancelRejection(rejection: Rejection): Directive0

    Adds a TransformationRejection cancelling all rejections equal to the given one to the list of rejections potentially coming back from the inner route.

    Adds a TransformationRejection cancelling all rejections equal to the given one to the list of rejections potentially coming back from the inner route.

    Definition Classes
    BasicDirectives
  8. def cancelRejections(cancelFilter: (Rejection) ⇒ Boolean): Directive0

    Adds a TransformationRejection cancelling all rejections for which the given filter function returns true to the list of rejections potentially coming back from the inner route.

    Adds a TransformationRejection cancelling all rejections for which the given filter function returns true to the list of rejections potentially coming back from the inner route.

    Definition Classes
    BasicDirectives
  9. def cancelRejections(classes: Class[_]*): Directive0

    Adds a TransformationRejection cancelling all rejections of one of the given classes to the list of rejections potentially coming back from the inner route.

    Adds a TransformationRejection cancelling all rejections of one of the given classes to the list of rejections potentially coming back from the inner route.

    Definition Classes
    BasicDirectives
  10. def clone(): AnyRef

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

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

    Definition Classes
    AnyRef → Any
  13. def extract[T](f: (RequestContext) ⇒ T): Directive1[T]

    Extracts a single value using the given function.

    Extracts a single value using the given function.

    Definition Classes
    BasicDirectives
  14. def extractExecutionContext: Directive1[ExecutionContext]

    Extracts the ExecutionContext from the RequestContext.

    Extracts the ExecutionContext from the RequestContext.

    Definition Classes
    BasicDirectives
  15. def extractLog: Directive1[LoggingAdapter]

    Extracts the LoggingAdapter from the RequestContext.

    Extracts the LoggingAdapter from the RequestContext.

    Definition Classes
    BasicDirectives
  16. def extractMaterializer: Directive1[Materializer]

    Extracts the Materializer from the RequestContext.

    Extracts the Materializer from the RequestContext.

    Definition Classes
    BasicDirectives
  17. def extractRequest: Directive1[HttpRequest]

    Extracts the current HttpRequest instance.

    Extracts the current HttpRequest instance.

    Definition Classes
    BasicDirectives
  18. def extractRequestContext: Directive1[RequestContext]

    Extracts the RequestContext itself.

    Extracts the RequestContext itself.

    Definition Classes
    BasicDirectives
  19. def extractSettings: Directive1[RoutingSettings]

    Extracts the RoutingSettings from the RequestContext.

    Extracts the RoutingSettings from the RequestContext.

    Definition Classes
    BasicDirectives
  20. def extractUnmatchedPath: Directive1[Path]

    Extracts the yet unmatched path from the RequestContext.

    Extracts the yet unmatched path from the RequestContext.

    Definition Classes
    BasicDirectives
  21. def extractUri: Directive1[Uri]

    Extracts the complete request URI.

    Extracts the complete request URI.

    Definition Classes
    BasicDirectives
  22. def finalize(): Unit

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

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

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

    Definition Classes
    Any
  26. def mapInnerRoute(f: ((RequestContext) ⇒ Future[RouteResult]) ⇒ (RequestContext) ⇒ Future[RouteResult]): Directive0

    Definition Classes
    BasicDirectives
  27. def mapRejections(f: (Seq[Rejection]) ⇒ Seq[Rejection]): Directive0

    Definition Classes
    BasicDirectives
  28. def mapRequest(f: (HttpRequest) ⇒ HttpRequest): Directive0

    Definition Classes
    BasicDirectives
  29. def mapRequestContext(f: (RequestContext) ⇒ RequestContext): Directive0

    Definition Classes
    BasicDirectives
  30. def mapResponse(f: (HttpResponse) ⇒ HttpResponse): Directive0

    Definition Classes
    BasicDirectives
  31. def mapResponseEntity(f: (ResponseEntity) ⇒ ResponseEntity): Directive0

    Definition Classes
    BasicDirectives
  32. def mapResponseHeaders(f: (Seq[HttpHeader]) ⇒ Seq[HttpHeader]): Directive0

    Definition Classes
    BasicDirectives
  33. def mapRouteResult(f: (RouteResult) ⇒ RouteResult): Directive0

    Definition Classes
    BasicDirectives
  34. def mapRouteResultFuture(f: (Future[RouteResult]) ⇒ Future[RouteResult]): Directive0

    Definition Classes
    BasicDirectives
  35. def mapRouteResultPF(f: PartialFunction[RouteResult, RouteResult]): Directive0

    Definition Classes
    BasicDirectives
  36. def mapRouteResultWith(f: (RouteResult) ⇒ Future[RouteResult]): Directive0

    Definition Classes
    BasicDirectives
  37. def mapRouteResultWithPF(f: PartialFunction[RouteResult, Future[RouteResult]]): Directive0

    Definition Classes
    BasicDirectives
  38. def mapSettings(f: (RoutingSettings) ⇒ RoutingSettings): Directive0

    Runs the inner route with settings mapped by the given function.

    Runs the inner route with settings mapped by the given function.

    Definition Classes
    BasicDirectives
  39. def mapUnmatchedPath(f: (Path) ⇒ Path): Directive0

    Transforms the unmatchedPath of the RequestContext using the given function.

    Transforms the unmatchedPath of the RequestContext using the given function.

    Definition Classes
    BasicDirectives
  40. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  41. final def notify(): Unit

    Definition Classes
    AnyRef
  42. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  43. def pass: Directive0

    A Directive0 that always passes the request on to its inner route (i.

    A Directive0 that always passes the request on to its inner route (i.e. does nothing with the request or the response).

    Definition Classes
    BasicDirectives
  44. def provide[T](value: T): Directive1[T]

    Injects the given value into a directive.

    Injects the given value into a directive.

    Definition Classes
    BasicDirectives
  45. def recoverRejections(f: (Seq[Rejection]) ⇒ RouteResult): Directive0

    Definition Classes
    BasicDirectives
  46. def recoverRejectionsWith(f: (Seq[Rejection]) ⇒ Future[RouteResult]): Directive0

    Definition Classes
    BasicDirectives
  47. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  48. def textract[L](f: (RequestContext) ⇒ L)(implicit arg0: Tuple[L]): Directive[L]

    Extracts a number of values using the given function.

    Extracts a number of values using the given function.

    Definition Classes
    BasicDirectives
  49. def toString(): String

    Definition Classes
    AnyRef → Any
  50. def tprovide[L](values: L)(implicit arg0: Tuple[L]): Directive[L]

    Injects the given values into a directive.

    Injects the given values into a directive.

    Definition Classes
    BasicDirectives
  51. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  54. def withExecutionContext(ec: ExecutionContext): Directive0

    Runs its inner route with the given alternative ExecutionContext.

    Runs its inner route with the given alternative ExecutionContext.

    Definition Classes
    BasicDirectives
  55. def withLog(log: LoggingAdapter): Directive0

    Runs its inner route with the given alternative LoggingAdapter.

    Runs its inner route with the given alternative LoggingAdapter.

    Definition Classes
    BasicDirectives
  56. def withMaterializer(materializer: Materializer): Directive0

    Runs its inner route with the given alternative Materializer.

    Runs its inner route with the given alternative Materializer.

    Definition Classes
    BasicDirectives
  57. def withSettings(settings: RoutingSettings): Directive0

    Runs its inner route with the given alternative RoutingSettings.

    Runs its inner route with the given alternative RoutingSettings.

    Definition Classes
    BasicDirectives

Inherited from BasicDirectives

Inherited from AnyRef

Inherited from Any

Ungrouped