Class

com.github.vonnagy.service.container.health

HealthEndpoints

Related Doc: package health

Permalink

class HealthEndpoints extends RoutedEndpoints with HealthProvider with CIDRDirectives with DefaultMarshallers

The REST endpoints for checking the system's health

Linear Supertypes
CIDRDirectives, HealthProvider, LoggingAdapter, SLF4JLogging, RoutedEndpoints, DefaultMarshallers, BaseDirectives, Directives, FramedEntityStreamingDirectives, WebSocketDirectives, SecurityDirectives, SchemeDirectives, RouteDirectives, RespondWithDirectives, RangeDirectives, PathDirectives, ImplicitPathMatcherConstruction, PathMatchers, TimeoutDirectives, ParameterDirectives, MiscDirectives, MethodDirectives, MarshallingDirectives, HostDirectives, HeaderDirectives, FutureDirectives, FormFieldDirectives, ToNameReceptacleEnhancements, FileUploadDirectives, FileAndResourceDirectives, ExecutionDirectives, CodingDirectives, DebuggingDirectives, CookieDirectives, CacheConditionDirectives, BasicDirectives, RouteConcatenation, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HealthEndpoints
  2. CIDRDirectives
  3. HealthProvider
  4. LoggingAdapter
  5. SLF4JLogging
  6. RoutedEndpoints
  7. DefaultMarshallers
  8. BaseDirectives
  9. Directives
  10. FramedEntityStreamingDirectives
  11. WebSocketDirectives
  12. SecurityDirectives
  13. SchemeDirectives
  14. RouteDirectives
  15. RespondWithDirectives
  16. RangeDirectives
  17. PathDirectives
  18. ImplicitPathMatcherConstruction
  19. PathMatchers
  20. TimeoutDirectives
  21. ParameterDirectives
  22. MiscDirectives
  23. MethodDirectives
  24. MarshallingDirectives
  25. HostDirectives
  26. HeaderDirectives
  27. FutureDirectives
  28. FormFieldDirectives
  29. ToNameReceptacleEnhancements
  30. FileUploadDirectives
  31. FileAndResourceDirectives
  32. ExecutionDirectives
  33. CodingDirectives
  34. DebuggingDirectives
  35. CookieDirectives
  36. CacheConditionDirectives
  37. BasicDirectives
  38. RouteConcatenation
  39. AnyRef
  40. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new HealthEndpoints()(implicit system: ActorSystem, actorRefFactory: ActorRefFactory)

    Permalink

Type Members

  1. type AsyncAuthenticator[T] = (Credentials) ⇒ Future[Option[T]]

    Permalink
    Definition Classes
    SecurityDirectives
  2. type AsyncAuthenticatorPF[T] = PartialFunction[Credentials, Future[T]]

    Permalink
    Definition Classes
    SecurityDirectives
  3. type AuthenticationResult[+T] = Either[HttpChallenge, T]

    Permalink
    Definition Classes
    SecurityDirectives
  4. type Authenticator[T] = (Credentials) ⇒ Option[T]

    Permalink
    Definition Classes
    SecurityDirectives
  5. type AuthenticatorPF[T] = PartialFunction[Credentials, T]

    Permalink
    Definition Classes
    SecurityDirectives
  6. case class HealthRollup(state: HealthState, details: String) extends Product with Serializable

    Permalink
    Definition Classes
    HealthProvider
  7. abstract class NumberMatcher[T] extends PathMatcher1[T]

    Permalink
    Definition Classes
    PathMatchers
  8. type RequestToSourceUnmarshaller[T] = Unmarshaller[HttpRequest, Source[T, NotUsed]]

    Permalink
    Definition Classes
    FramedEntityStreamingDirectives

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. val DoubleNumber: PathMatcher1[Double]

    Permalink
    Definition Classes
    PathMatchers
  5. val JavaUUID: PathMatcher1[UUID]

    Permalink
    Definition Classes
    PathMatchers
  6. val Neutral: PathMatcher0

    Permalink
    Definition Classes
    PathMatchers
  7. def Segments(min: Int, max: Int): PathMatcher1[List[String]]

    Permalink
    Definition Classes
    PathMatchers
  8. def Segments(count: Int): PathMatcher1[List[String]]

    Permalink
    Definition Classes
    PathMatchers
  9. val Segments: PathMatcher1[List[String]]

    Permalink
    Definition Classes
    PathMatchers
  10. object UUIDSerializer extends CustomSerializer[UUID] with Product with Serializable

    Permalink
    Definition Classes
    DefaultMarshallers
  11. def _defaultClassLoader: ClassLoader

    Permalink
    Attributes
    protected[akka.http]
    Definition Classes
    FileAndResourceDirectives
  12. implicit def _enhanceRouteWithConcatenation(route: Route): RouteWithConcatenation

    Permalink
    Definition Classes
    RouteConcatenation
  13. implicit def _regex2PathMatcher(regex: Regex): PathMatcher1[String]

    Permalink
    Definition Classes
    ImplicitPathMatcherConstruction
  14. implicit def _segmentStringToPathMatcher(segment: String): PathMatcher0

    Permalink
    Definition Classes
    ImplicitPathMatcherConstruction
  15. implicit def _string2NR(string: String): NameReceptacle[String]

    Permalink
    Definition Classes
    ToNameReceptacleEnhancements
  16. implicit def _stringExtractionPair2PathMatcher[T](tuple: (String, T)): PathMatcher1[T]

    Permalink
    Definition Classes
    ImplicitPathMatcherConstruction
  17. implicit def _stringNameOptionReceptacle2PathMatcher(nr: NameOptionReceptacle[String]): PathMatcher0

    Permalink
    Definition Classes
    ImplicitPathMatcherConstruction
  18. implicit def _symbol2NR(symbol: Symbol): NameReceptacle[String]

    Permalink
    Definition Classes
    ToNameReceptacleEnhancements
  19. implicit def _valueMap2PathMatcher[T](valueMap: Map[String, T]): PathMatcher1[T]

    Permalink
    Definition Classes
    ImplicitPathMatcherConstruction
  20. def acceptableMediaTypes(mediaTypes: MediaType*): Directive0

    Permalink

    This directive can be used to only allow requests that have at least one of the accepted media types.

    This directive can be used to only allow requests that have at least one of the accepted media types. This looks at the requests Accept header and matches the values to the allowed ones.

    Definition Classes
    BaseDirectives
  21. val alerts: Buffer[HealthRollup]

    Permalink
    Definition Classes
    HealthProvider
  22. def as[T](implicit um: FromRequestUnmarshaller[T]): FromRequestUnmarshaller[T]

    Permalink
    Definition Classes
    MarshallingDirectives
  23. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  24. final def asSourceOf[T](support: EntityStreamingSupport)(implicit um: FromByteStringUnmarshaller[T]): RequestToSourceUnmarshaller[T]

    Permalink
    Definition Classes
    FramedEntityStreamingDirectives
  25. final def asSourceOf[T](implicit um: FromByteStringUnmarshaller[T], support: EntityStreamingSupport): RequestToSourceUnmarshaller[T]

    Permalink
    Definition Classes
    FramedEntityStreamingDirectives
  26. def authenticateBasic[T](realm: String, authenticator: Authenticator[T]): AuthenticationDirective[T]

    Permalink
    Definition Classes
    SecurityDirectives
  27. def authenticateBasicAsync[T](realm: String, authenticator: AsyncAuthenticator[T]): AuthenticationDirective[T]

    Permalink
    Definition Classes
    SecurityDirectives
  28. def authenticateBasicPF[T](realm: String, authenticator: AuthenticatorPF[T]): AuthenticationDirective[T]

    Permalink
    Definition Classes
    SecurityDirectives
  29. def authenticateBasicPFAsync[T](realm: String, authenticator: AsyncAuthenticatorPF[T]): AuthenticationDirective[T]

    Permalink
    Definition Classes
    SecurityDirectives
  30. def authenticateOAuth2[T](realm: String, authenticator: Authenticator[T]): AuthenticationDirective[T]

    Permalink
    Definition Classes
    SecurityDirectives
  31. def authenticateOAuth2Async[T](realm: String, authenticator: AsyncAuthenticator[T]): AuthenticationDirective[T]

    Permalink
    Definition Classes
    SecurityDirectives
  32. def authenticateOAuth2PF[T](realm: String, authenticator: AuthenticatorPF[T]): AuthenticationDirective[T]

    Permalink
    Definition Classes
    SecurityDirectives
  33. def authenticateOAuth2PFAsync[T](realm: String, authenticator: AsyncAuthenticatorPF[T]): AuthenticationDirective[T]

    Permalink
    Definition Classes
    SecurityDirectives
  34. def authenticateOrRejectWithChallenge[C <: HttpCredentials, T](authenticator: (Option[C]) ⇒ Future[AuthenticationResult[T]])(implicit arg0: ClassTag[C]): AuthenticationDirective[T]

    Permalink
    Definition Classes
    SecurityDirectives
  35. def authenticateOrRejectWithChallenge[T](authenticator: (Option[HttpCredentials]) ⇒ Future[AuthenticationResult[T]]): AuthenticationDirective[T]

    Permalink
    Definition Classes
    SecurityDirectives
  36. def authorize(check: (RequestContext) ⇒ Boolean): Directive0

    Permalink
    Definition Classes
    SecurityDirectives
  37. def authorize(check: ⇒ Boolean): Directive0

    Permalink
    Definition Classes
    SecurityDirectives
  38. def authorizeAsync(check: (RequestContext) ⇒ Future[Boolean]): Directive0

    Permalink
    Definition Classes
    SecurityDirectives
  39. def authorizeAsync(check: ⇒ Future[Boolean]): Directive0

    Permalink
    Definition Classes
    SecurityDirectives
  40. def cancelRejection(rejection: Rejection): Directive0

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

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

    Permalink
    Definition Classes
    BasicDirectives
  43. def checkSameOrigin(allowed: Default): Directive0

    Permalink
    Definition Classes
    HeaderDirectives
  44. def cidrFilter(allow: Seq[String], deny: Seq[String]): Directive0

    Permalink
    Definition Classes
    CIDRDirectives
  45. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  46. def complete(m: ⇒ ToResponseMarshallable): StandardRoute

    Permalink
    Definition Classes
    RouteDirectives
  47. def completeOrRecoverWith(magnet: CompleteOrRecoverWithMagnet): Directive1[Throwable]

    Permalink
    Definition Classes
    FutureDirectives
  48. def completeWith[T](marshaller: ToResponseMarshaller[T])(inner: ((T) ⇒ Unit) ⇒ Unit): Route

    Permalink
    Definition Classes
    MarshallingDirectives
  49. def concat(routes: Route*): Route

    Permalink
    Definition Classes
    RouteConcatenation
  50. def conditional(eTag: Option[EntityTag], lastModified: Option[DateTime]): Directive0

    Permalink
    Definition Classes
    CacheConditionDirectives
  51. def conditional(eTag: EntityTag, lastModified: DateTime): Directive0

    Permalink
    Definition Classes
    CacheConditionDirectives
  52. def conditional(lastModified: DateTime): Directive0

    Permalink
    Definition Classes
    CacheConditionDirectives
  53. def conditional(eTag: EntityTag): Directive0

    Permalink
    Definition Classes
    CacheConditionDirectives
  54. lazy val config: Config

    Permalink
  55. def cookie(name: String): Directive1[HttpCookiePair]

    Permalink
    Definition Classes
    CookieDirectives
  56. def decodeRequest: Directive0

    Permalink
    Definition Classes
    CodingDirectives
  57. def decodeRequestWith(decoders: Decoder*): Directive0

    Permalink
    Definition Classes
    CodingDirectives
  58. def decodeRequestWith(decoder: Decoder): Directive0

    Permalink
    Definition Classes
    CodingDirectives
  59. implicit def defaultJsonFormats: Formats

    Permalink
    Definition Classes
    DefaultMarshallers
  60. def delete: Directive0

    Permalink
    Definition Classes
    MethodDirectives
  61. def deleteCookie(name: String, domain: String, path: String): Directive0

    Permalink
    Definition Classes
    CookieDirectives
  62. def deleteCookie(first: HttpCookie, more: HttpCookie*): Directive0

    Permalink
    Definition Classes
    CookieDirectives
  63. def encodeResponse: Directive0

    Permalink
    Definition Classes
    CodingDirectives
  64. def encodeResponseWith(first: Encoder, more: Encoder*): Directive0

    Permalink
    Definition Classes
    CodingDirectives
  65. def entity[T](um: FromRequestUnmarshaller[T]): Directive1[T]

    Permalink
    Definition Classes
    MarshallingDirectives
  66. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  68. implicit val executor: ExecutionContextExecutor

    Permalink
    Definition Classes
    HealthEndpointsHealthProvider
  69. def extract[T](f: (RequestContext) ⇒ T): Directive1[T]

    Permalink
    Definition Classes
    BasicDirectives
  70. def extractActorSystem: Directive1[ActorSystem]

    Permalink
    Definition Classes
    BasicDirectives
  71. def extractClientIP: Directive1[RemoteAddress]

    Permalink
    Definition Classes
    MiscDirectives
  72. def extractCredentials: Directive1[Option[HttpCredentials]]

    Permalink
    Definition Classes
    SecurityDirectives
  73. def extractDataBytes: Directive1[Source[ByteString, Any]]

    Permalink
    Definition Classes
    BasicDirectives
  74. def extractExecutionContext: Directive1[ExecutionContextExecutor]

    Permalink
    Definition Classes
    BasicDirectives
  75. def extractHost: Directive1[String]

    Permalink
    Definition Classes
    HostDirectives
  76. def extractLog: Directive1[LoggingAdapter]

    Permalink
    Definition Classes
    BasicDirectives
  77. def extractMaterializer: Directive1[Materializer]

    Permalink
    Definition Classes
    BasicDirectives
  78. def extractMethod: Directive1[HttpMethod]

    Permalink
    Definition Classes
    MethodDirectives
  79. def extractOfferedWsProtocols: Directive1[Seq[String]]

    Permalink
    Definition Classes
    WebSocketDirectives
  80. def extractParserSettings: Directive1[ParserSettings]

    Permalink
    Definition Classes
    BasicDirectives
  81. def extractRequest: Directive1[HttpRequest]

    Permalink
    Definition Classes
    BasicDirectives
  82. def extractRequestContext: Directive1[RequestContext]

    Permalink
    Definition Classes
    BasicDirectives
  83. def extractRequestEntity: Directive1[RequestEntity]

    Permalink
    Definition Classes
    BasicDirectives
  84. def extractScheme: Directive1[String]

    Permalink
    Definition Classes
    SchemeDirectives
  85. def extractSettings: Directive1[RoutingSettings]

    Permalink
    Definition Classes
    BasicDirectives
  86. def extractStrictEntity(timeout: FiniteDuration): Directive1[Strict]

    Permalink
    Definition Classes
    BasicDirectives
  87. def extractUnmatchedPath: Directive1[Path]

    Permalink
    Definition Classes
    BasicDirectives
  88. def extractUpgradeToWebSocket: Directive1[UpgradeToWebSocket]

    Permalink
    Definition Classes
    WebSocketDirectives
  89. def extractUri: Directive1[Uri]

    Permalink
    Definition Classes
    BasicDirectives
  90. def failWith(error: Throwable): StandardRoute

    Permalink
    Definition Classes
    RouteDirectives
  91. def fileUpload(fieldName: String): Directive1[(FileInfo, Source[ByteString, Any])]

    Permalink
    Definition Classes
    FileUploadDirectives
  92. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  93. def formField(pdm: FieldMagnet): Out

    Permalink
    Definition Classes
    FormFieldDirectives
  94. def formFieldMap: Directive1[Map[String, String]]

    Permalink
    Definition Classes
    FormFieldDirectives
  95. def formFieldMultiMap: Directive1[Map[String, List[String]]]

    Permalink
    Definition Classes
    FormFieldDirectives
  96. def formFieldSeq: Directive1[Seq[(String, String)]]

    Permalink
    Definition Classes
    FormFieldDirectives
  97. def formFields(pdm: FieldMagnet): Out

    Permalink
    Definition Classes
    FormFieldDirectives
  98. implicit val formats: Formats

    Permalink
    Definition Classes
    HealthProvider
  99. def get: Directive0

    Permalink
    Definition Classes
    MethodDirectives
  100. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  101. def getFromBrowseableDirectories(directories: String*)(implicit renderer: DirectoryRenderer, resolver: ContentTypeResolver): Route

    Permalink
    Definition Classes
    FileAndResourceDirectives
  102. def getFromBrowseableDirectory(directory: String)(implicit renderer: DirectoryRenderer, resolver: ContentTypeResolver): Route

    Permalink
    Definition Classes
    FileAndResourceDirectives
  103. def getFromDirectory(directoryName: String)(implicit resolver: ContentTypeResolver): Route

    Permalink
    Definition Classes
    FileAndResourceDirectives
  104. def getFromFile(file: File, contentType: ContentType): Route

    Permalink
    Definition Classes
    FileAndResourceDirectives
  105. def getFromFile(file: File)(implicit resolver: ContentTypeResolver): Route

    Permalink
    Definition Classes
    FileAndResourceDirectives
  106. def getFromFile(fileName: String)(implicit resolver: ContentTypeResolver): Route

    Permalink
    Definition Classes
    FileAndResourceDirectives
  107. def getFromResource(resourceName: String, contentType: ContentType, classLoader: ClassLoader): Route

    Permalink
    Definition Classes
    FileAndResourceDirectives
  108. def getFromResource(resourceName: String)(implicit resolver: ContentTypeResolver): Route

    Permalink
    Definition Classes
    FileAndResourceDirectives
  109. def getFromResourceDirectory(directoryName: String, classLoader: ClassLoader)(implicit resolver: ContentTypeResolver): Route

    Permalink
    Definition Classes
    FileAndResourceDirectives
  110. def handleExceptions(handler: ExceptionHandler): Directive0

    Permalink
    Definition Classes
    ExecutionDirectives
  111. def handleHealth[T <: ContainerHealth](loadBalancer: Boolean)(implicit marshaller: ToEntityMarshaller[AnyRef]): PartialFunction[Try[ContainerHealth], Route]

    Permalink

    The handler that is instantiated when the system's health is requested

  112. def handleRejections(handler: RejectionHandler): Directive0

    Permalink
    Definition Classes
    ExecutionDirectives
  113. def handleWebSocketMessages(handler: Flow[Message, Message, Any]): Route

    Permalink
    Definition Classes
    WebSocketDirectives
  114. def handleWebSocketMessagesForOptionalProtocol(handler: Flow[Message, Message, Any], subprotocol: Option[String]): Route

    Permalink
    Definition Classes
    WebSocketDirectives
  115. def handleWebSocketMessagesForProtocol(handler: Flow[Message, Message, Any], subprotocol: String): Route

    Permalink
    Definition Classes
    WebSocketDirectives
  116. def handleWith[A, B](f: (A) ⇒ B)(implicit um: FromRequestUnmarshaller[A], m: ToResponseMarshaller[B]): Route

    Permalink
    Definition Classes
    MarshallingDirectives
  117. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  118. def head: Directive0

    Permalink
    Definition Classes
    MethodDirectives
  119. def headerValue[T](f: (HttpHeader) ⇒ Option[T]): Directive1[T]

    Permalink
    Definition Classes
    HeaderDirectives
  120. def headerValueByName(headerName: String): Directive1[String]

    Permalink
    Definition Classes
    HeaderDirectives
  121. def headerValueByName(headerName: Symbol): Directive1[String]

    Permalink
    Definition Classes
    HeaderDirectives
  122. def headerValueByType[T](magnet: HeaderMagnet[T]): Directive1[T]

    Permalink
    Definition Classes
    HeaderDirectives
  123. def headerValuePF[T](pf: PartialFunction[HttpHeader, T]): Directive1[T]

    Permalink
    Definition Classes
    HeaderDirectives
  124. def host(regex: Regex): Directive1[String]

    Permalink
    Definition Classes
    HostDirectives
  125. def host(predicate: (String) ⇒ Boolean): Directive0

    Permalink
    Definition Classes
    HostDirectives
  126. def host(hostNames: String*): Directive0

    Permalink
    Definition Classes
    HostDirectives
  127. def instanceOf[T](implicit m: ToResponseMarshaller[T]): ToResponseMarshaller[T]

    Permalink
    Definition Classes
    MarshallingDirectives
  128. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  129. def jsonMarshaller[T <: AnyRef]: ToEntityMarshaller[T]

    Permalink
    Definition Classes
    DefaultMarshallers
  130. def jsonStringMarshaller[String]: ToEntityMarshaller[String]

    Permalink
    Definition Classes
    DefaultMarshallers
  131. def jsonUnmarshaller[T](implicit arg0: Manifest[T]): FromEntityUnmarshaller[T]

    Permalink
    Definition Classes
    DefaultMarshallers
  132. implicit def jsonValueMarshaller[T <: JValue]: ToEntityMarshaller[T]

    Permalink
    Definition Classes
    DefaultMarshallers
  133. def listDirectoryContents(directories: String*)(implicit renderer: DirectoryRenderer): Route

    Permalink
    Definition Classes
    FileAndResourceDirectives
  134. lazy val log: Logger

    Permalink
    Definition Classes
    SLF4JLogging
  135. def logRequest(magnet: LoggingMagnet[(HttpRequest) ⇒ Unit]): Directive0

    Permalink
    Definition Classes
    DebuggingDirectives
  136. def logRequestResult(magnet: LoggingMagnet[(HttpRequest) ⇒ (RouteResult) ⇒ Unit]): Directive0

    Permalink
    Definition Classes
    DebuggingDirectives
  137. def logResult(magnet: LoggingMagnet[(RouteResult) ⇒ Unit]): Directive0

    Permalink
    Definition Classes
    DebuggingDirectives
  138. def mapInnerRoute(f: (Route) ⇒ Route): Directive0

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    BasicDirectives
  152. def method(httpMethod: HttpMethod): Directive0

    Permalink
    Definition Classes
    MethodDirectives
  153. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  154. def nothingMatcher[L](implicit arg0: Tuple[L]): PathMatcher[L]

    Permalink
    Definition Classes
    PathMatchers
  155. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  157. def onComplete[T](future: ⇒ Future[T]): Directive1[Try[T]]

    Permalink
    Definition Classes
    FutureDirectives
  158. def onCompleteWithBreaker[T](breaker: CircuitBreaker)(future: ⇒ Future[T]): Directive1[Try[T]]

    Permalink
    Definition Classes
    FutureDirectives
  159. def onSuccess(magnet: OnSuccessMagnet): Directive[Out]

    Permalink
    Definition Classes
    FutureDirectives
  160. def optionalCookie(name: String): Directive1[Option[HttpCookiePair]]

    Permalink
    Definition Classes
    CookieDirectives
  161. def optionalHeaderValue[T](f: (HttpHeader) ⇒ Option[T]): Directive1[Option[T]]

    Permalink
    Definition Classes
    HeaderDirectives
  162. def optionalHeaderValueByName(headerName: String): Directive1[Option[String]]

    Permalink
    Definition Classes
    HeaderDirectives
  163. def optionalHeaderValueByName(headerName: Symbol): Directive1[Option[String]]

    Permalink
    Definition Classes
    HeaderDirectives
  164. def optionalHeaderValueByType[T <: HttpHeader](magnet: HeaderMagnet[T]): Directive1[Option[T]]

    Permalink
    Definition Classes
    HeaderDirectives
  165. def optionalHeaderValuePF[T](pf: PartialFunction[HttpHeader, T]): Directive1[Option[T]]

    Permalink
    Definition Classes
    HeaderDirectives
  166. def options: Directive0

    Permalink
    Definition Classes
    MethodDirectives
  167. def overrideMethodWithParameter(paramName: String): Directive0

    Permalink
    Definition Classes
    MethodDirectives
  168. def parameter(pdm: ParamMagnet): Out

    Permalink
    Definition Classes
    ParameterDirectives
  169. def parameterMap: Directive1[Map[String, String]]

    Permalink
    Definition Classes
    ParameterDirectives
  170. def parameterMultiMap: Directive1[Map[String, List[String]]]

    Permalink
    Definition Classes
    ParameterDirectives
  171. def parameterSeq: Directive1[Seq[(String, String)]]

    Permalink
    Definition Classes
    ParameterDirectives
  172. def parameters(pdm: ParamMagnet): Out

    Permalink
    Definition Classes
    ParameterDirectives
  173. def pass: Directive0

    Permalink
    Definition Classes
    BasicDirectives
  174. def patch: Directive0

    Permalink
    Definition Classes
    MethodDirectives
  175. def path[L](pm: PathMatcher[L]): Directive[L]

    Permalink
    Definition Classes
    PathDirectives
  176. def pathEnd: Directive0

    Permalink
    Definition Classes
    PathDirectives
  177. def pathEndOrSingleSlash: Directive0

    Permalink
    Definition Classes
    PathDirectives
  178. def pathPrefix[L](pm: PathMatcher[L]): Directive[L]

    Permalink
    Definition Classes
    PathDirectives
  179. def pathPrefixTest[L](pm: PathMatcher[L]): Directive[L]

    Permalink
    Definition Classes
    PathDirectives
  180. def pathSingleSlash: Directive0

    Permalink
    Definition Classes
    PathDirectives
  181. def pathSuffix[L](pm: PathMatcher[L]): Directive[L]

    Permalink
    Definition Classes
    PathDirectives
  182. def pathSuffixTest[L](pm: PathMatcher[L]): Directive[L]

    Permalink
    Definition Classes
    PathDirectives
  183. def plainMarshaller[T]: ToEntityMarshaller[T]

    Permalink
    Definition Classes
    DefaultMarshallers
  184. def post: Directive0

    Permalink
    Definition Classes
    MethodDirectives
  185. def provide[T](value: T): Directive1[T]

    Permalink
    Definition Classes
    BasicDirectives
  186. def put: Directive0

    Permalink
    Definition Classes
    MethodDirectives
  187. def rawPathPrefix[L](pm: PathMatcher[L]): Directive[L]

    Permalink
    Definition Classes
    PathDirectives
  188. def rawPathPrefixTest[L](pm: PathMatcher[L]): Directive[L]

    Permalink
    Definition Classes
    PathDirectives
  189. def recoverRejections(f: (Seq[Rejection]) ⇒ RouteResult): Directive0

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

    Permalink
    Definition Classes
    BasicDirectives
  191. def redirect(uri: Uri, redirectionType: Redirection): StandardRoute

    Permalink
    Definition Classes
    RouteDirectives
  192. def redirectToNoTrailingSlashIfPresent(redirectionType: Redirection): Directive0

    Permalink
    Definition Classes
    PathDirectives
  193. def redirectToTrailingSlashIfMissing(redirectionType: Redirection): Directive0

    Permalink
    Definition Classes
    PathDirectives
  194. def reject(rejections: Rejection*): StandardRoute

    Permalink
    Definition Classes
    RouteDirectives
  195. def reject: StandardRoute

    Permalink
    Definition Classes
    RouteDirectives
  196. def rejectEmptyResponse: Directive0

    Permalink
    Definition Classes
    MiscDirectives
  197. def requestEncodedWith(encoding: HttpEncoding): Directive0

    Permalink
    Definition Classes
    CodingDirectives
  198. def requestEntityEmpty: Directive0

    Permalink
    Definition Classes
    MiscDirectives
  199. def requestEntityPresent: Directive0

    Permalink
    Definition Classes
    MiscDirectives
  200. def respondWithDefaultHeader(responseHeader: HttpHeader): Directive0

    Permalink
    Definition Classes
    RespondWithDirectives
  201. def respondWithDefaultHeaders(responseHeaders: Seq[HttpHeader]): Directive0

    Permalink
    Definition Classes
    RespondWithDirectives
  202. def respondWithDefaultHeaders(responseHeaders: HttpHeader*): Directive0

    Permalink
    Definition Classes
    RespondWithDirectives
  203. def respondWithHeader(responseHeader: HttpHeader): Directive0

    Permalink
    Definition Classes
    RespondWithDirectives
  204. def respondWithHeaders(responseHeaders: Seq[HttpHeader]): Directive0

    Permalink
    Definition Classes
    RespondWithDirectives
  205. def respondWithHeaders(responseHeaders: HttpHeader*): Directive0

    Permalink
    Definition Classes
    RespondWithDirectives
  206. def responseEncodingAccepted(encoding: HttpEncoding): Directive0

    Permalink
    Definition Classes
    CodingDirectives
  207. val route: Route

    Permalink
    Definition Classes
    HealthEndpointsRoutedEndpoints
  208. def runChecks: Future[ContainerHealth]

    Permalink

    Run the health checks and return the current system state

    Run the health checks and return the current system state

    returns

    a future to an instance of ContainerHealth

    Definition Classes
    HealthProvider
  209. def scheme(name: String): Directive0

    Permalink
    Definition Classes
    SchemeDirectives
  210. def selectPreferredLanguage(first: Language, more: Language*): Directive1[Language]

    Permalink
    Definition Classes
    MiscDirectives
  211. def separateOnSlashes(string: String): PathMatcher0

    Permalink
    Definition Classes
    PathMatchers
  212. implicit val serialization: Serialization.type

    Permalink
    Definition Classes
    DefaultMarshallers
  213. def serialize(loadBalancer: Boolean, health: ContainerHealth): AnyRef

    Permalink
    Definition Classes
    HealthProvider
  214. def setCookie(first: HttpCookie, more: HttpCookie*): Directive0

    Permalink
    Definition Classes
    CookieDirectives
  215. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  216. implicit val system: ActorSystem

    Permalink
    Definition Classes
    HealthEndpointsHealthProvider
  217. def textract[L](f: (RequestContext) ⇒ L)(implicit arg0: Tuple[L]): Directive[L]

    Permalink
    Definition Classes
    BasicDirectives
  218. implicit val timeout: Timeout

    Permalink
    Definition Classes
    HealthProvider
  219. def toStrictEntity(timeout: FiniteDuration): Directive0

    Permalink
    Definition Classes
    BasicDirectives
  220. def toString(): String

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

    Permalink
    Definition Classes
    BasicDirectives
  222. def uploadedFile(fieldName: String): Directive1[(FileInfo, File)]

    Permalink
    Definition Classes
    FileUploadDirectives
  223. def validate(check: ⇒ Boolean, errorMsg: String): Directive0

    Permalink
    Definition Classes
    MiscDirectives
  224. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  227. def withExecutionContext(ec: ExecutionContextExecutor): Directive0

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

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

    Permalink
    Definition Classes
    BasicDirectives
  230. def withPrecompressedMediaTypeSupport: Directive0

    Permalink
    Definition Classes
    CodingDirectives
  231. def withRangeSupport: Directive0

    Permalink
    Definition Classes
    RangeDirectives
  232. def withRequestTimeout(timeout: Duration, handler: Option[(HttpRequest) ⇒ HttpResponse]): Directive0

    Permalink
    Definition Classes
    TimeoutDirectives
  233. def withRequestTimeout(timeout: Duration, handler: (HttpRequest) ⇒ HttpResponse): Directive0

    Permalink
    Definition Classes
    TimeoutDirectives
  234. def withRequestTimeout(timeout: Duration): Directive0

    Permalink
    Definition Classes
    TimeoutDirectives
  235. def withRequestTimeoutResponse(handler: (HttpRequest) ⇒ HttpResponse): Directive0

    Permalink
    Definition Classes
    TimeoutDirectives
  236. def withSettings(settings: RoutingSettings): Directive0

    Permalink
    Definition Classes
    BasicDirectives
  237. def withSizeLimit(maxBytes: Long): Directive0

    Permalink
    Definition Classes
    MiscDirectives
  238. def withoutRequestTimeout: Directive0

    Permalink
    Definition Classes
    TimeoutDirectives
  239. def withoutSizeLimit: Directive0

    Permalink
    Definition Classes
    MiscDirectives

Inherited from CIDRDirectives

Inherited from HealthProvider

Inherited from LoggingAdapter

Inherited from SLF4JLogging

Inherited from RoutedEndpoints

Inherited from DefaultMarshallers

Inherited from BaseDirectives

Inherited from Directives

Inherited from FramedEntityStreamingDirectives

Inherited from WebSocketDirectives

Inherited from SecurityDirectives

Inherited from SchemeDirectives

Inherited from RouteDirectives

Inherited from RespondWithDirectives

Inherited from RangeDirectives

Inherited from PathDirectives

Inherited from ImplicitPathMatcherConstruction

Inherited from PathMatchers

Inherited from TimeoutDirectives

Inherited from ParameterDirectives

Inherited from MiscDirectives

Inherited from MethodDirectives

Inherited from MarshallingDirectives

Inherited from HostDirectives

Inherited from HeaderDirectives

Inherited from FutureDirectives

Inherited from FormFieldDirectives

Inherited from ToNameReceptacleEnhancements

Inherited from FileUploadDirectives

Inherited from FileAndResourceDirectives

Inherited from ExecutionDirectives

Inherited from CodingDirectives

Inherited from DebuggingDirectives

Inherited from CookieDirectives

Inherited from CacheConditionDirectives

Inherited from BasicDirectives

Inherited from RouteConcatenation

Inherited from AnyRef

Inherited from Any

Ungrouped