Class/Object

com.github.vonnagy.service.container.http

HttpService

Related Docs: object HttpService | package http

Permalink

class HttpService extends Actor with RegisteredHealthCheckActor with RoutedService with SSLProvider with BaseDirectives with HttpMetrics

Linear Supertypes
HttpMetrics, BaseDirectives, SSLProvider, SSLServerContextProvider, SSLContextProvider, RoutedService, RoutingHandler, LoggingAdapter, SLF4JLogging, DefaultMarshallers, 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, RegisteredHealthCheckActor, HealthCheck, Actor, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HttpService
  2. HttpMetrics
  3. BaseDirectives
  4. SSLProvider
  5. SSLServerContextProvider
  6. SSLContextProvider
  7. RoutedService
  8. RoutingHandler
  9. LoggingAdapter
  10. SLF4JLogging
  11. DefaultMarshallers
  12. Directives
  13. FramedEntityStreamingDirectives
  14. WebSocketDirectives
  15. SecurityDirectives
  16. SchemeDirectives
  17. RouteDirectives
  18. RespondWithDirectives
  19. RangeDirectives
  20. PathDirectives
  21. ImplicitPathMatcherConstruction
  22. PathMatchers
  23. TimeoutDirectives
  24. ParameterDirectives
  25. MiscDirectives
  26. MethodDirectives
  27. MarshallingDirectives
  28. HostDirectives
  29. HeaderDirectives
  30. FutureDirectives
  31. FormFieldDirectives
  32. ToNameReceptacleEnhancements
  33. FileUploadDirectives
  34. FileAndResourceDirectives
  35. ExecutionDirectives
  36. CodingDirectives
  37. DebuggingDirectives
  38. CookieDirectives
  39. CacheConditionDirectives
  40. BasicDirectives
  41. RouteConcatenation
  42. RegisteredHealthCheckActor
  43. HealthCheck
  44. Actor
  45. AnyRef
  46. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new HttpService(routeEndpoints: Seq[Class[_ <: RoutedEndpoints]])

    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. abstract class NumberMatcher[T] extends PathMatcher1[T]

    Permalink
    Definition Classes
    PathMatchers
  7. type Receive = PartialFunction[Any, Unit]

    Permalink
    Definition Classes
    Actor
  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. def aroundPostRestart(reason: Throwable): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  22. def aroundPostStop(): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  23. def aroundPreRestart(reason: Throwable, message: Option[Any]): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  24. def aroundPreStart(): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  25. def aroundReceive(receive: akka.actor.Actor.Receive, msg: Any): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
    Annotations
    @InternalApi()
  26. def as[T](implicit um: FromRequestUnmarshaller[T]): FromRequestUnmarshaller[T]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    SecurityDirectives
  44. def bindHttp(interface: String, port: Int, ssl: Boolean, route: Route): Future[ServerBinding]

    Permalink
  45. def cancelHttpMetrics(): Unit

    Permalink
    Attributes
    protected[com.github.vonnagy.service.container.http]
    Definition Classes
    HttpMetrics
  46. def cancelRejection(rejection: Rejection): Directive0

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

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

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

    Permalink
    Definition Classes
    HeaderDirectives
  50. def clone(): AnyRef

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    CacheConditionDirectives
  59. def conf: Config

    Permalink
    Definition Classes
    RoutedServiceRoutingHandler
  60. def configNamespace: String

    Permalink
    Definition Classes
    SSLProvider → SSLContextProvider
  61. implicit val context: ActorContext

    Permalink
    Definition Classes
    Actor
  62. def cookie(name: String): Directive1[HttpCookiePair]

    Permalink
    Definition Classes
    CookieDirectives
  63. def decodeRequest: Directive0

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

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

    Permalink
    Definition Classes
    CodingDirectives
  66. implicit def defaultJsonFormats: Formats

    Permalink
    Definition Classes
    DefaultMarshallers
  67. def delete: Directive0

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

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

    Permalink
    Definition Classes
    CookieDirectives
  70. def encodeResponse: Directive0

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  75. implicit val exceptionHandler: ExceptionHandler

    Permalink

    Wrap all Exceptions in the com.github.vonnagy.service.container.http.RejectionResponse class then marshall as json.

    Wrap all Exceptions in the com.github.vonnagy.service.container.http.RejectionResponse class then marshall as json.

    Definition Classes
    RoutingHandler
  76. def extract[T](f: (RequestContext) ⇒ T): Directive1[T]

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    BasicDirectives
  84. def extractMatchedPath: Directive1[Path]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    FileUploadDirectives
  100. def fileUploadAll(fieldName: String): Directive1[Seq[(FileInfo, Source[ByteString, Any])]]

    Permalink
    Definition Classes
    FileUploadDirectives
    Annotations
    @ApiMayChange()
  101. def finalize(): Unit

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

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

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

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

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

    Permalink
    Definition Classes
    FormFieldDirectives
  107. def get: Directive0

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

    Permalink
    Definition Classes
    AnyRef → Any
  109. def getContext(ssl: Boolean): ConnectionContext

    Permalink
    Definition Classes
    SSLProvider
  110. def getFromBrowseableDirectories(directories: String*)(implicit renderer: DirectoryRenderer, resolver: ContentTypeResolver): Route

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    FileAndResourceDirectives
  119. def getHealth: Future[HealthInfo]

    Permalink

    Fetch the health for this registered checker.

    Fetch the health for this registered checker.

    returns

    returns a future to the health information

    Definition Classes
    RegisteredHealthCheckActorHealthCheck
  120. def getHttpHealth(): HealthInfo

    Permalink

    Get the health of the Http server

    Get the health of the Http server

    returns

    An instance of HealthInfo

  121. def handleExceptions(handler: ExceptionHandler): Directive0

    Permalink
    Definition Classes
    ExecutionDirectives
  122. def handleRejections(handler: RejectionHandler): Directive0

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    HostDirectives
  137. val httpSettings: Seq[(String, Int)]

    Permalink
  138. val idle: Gauge[Long]

    Permalink
    Definition Classes
    HttpMetrics
  139. def ignoreTrailingSlash: Directive0

    Permalink
    Definition Classes
    PathDirectives
  140. def instanceOf[T](implicit m: ToResponseMarshaller[T]): ToResponseMarshaller[T]

    Permalink
    Definition Classes
    MarshallingDirectives
  141. def isClient: Boolean

    Permalink
  142. final def isInstanceOf[T0]: Boolean

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

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

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

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

    Permalink
    Definition Classes
    DefaultMarshallers
  147. var lastStats: Stats

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

    Permalink
    Definition Classes
    FileAndResourceDirectives
  149. def loadAndBuildRoute(routeEndpoints: Seq[Class[_ <: RoutedEndpoints]]): Route

    Permalink

    Load the designated routes and store them for later

    Load the designated routes and store them for later

    Definition Classes
    RoutedService
  150. lazy val log: Logger

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    BasicDirectives
  168. implicit val marshaller: ToEntityMarshaller[AnyRef]

    Permalink
    Definition Classes
    RoutingHandler
  169. implicit val materializer: ActorMaterializer

    Permalink
  170. val maxOpenConn: Gauge[Long]

    Permalink
    Definition Classes
    HttpMetrics
  171. val maxOpenReq: Gauge[Long]

    Permalink
    Definition Classes
    HttpMetrics
  172. def method(httpMethod: HttpMethod): Directive0

    Permalink
    Definition Classes
    MethodDirectives
  173. var metricsJob: Option[Cancellable]

    Permalink
    Definition Classes
    HttpMetrics
  174. final def ne(arg0: AnyRef): Boolean

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

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

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

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

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

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

    Permalink
    Definition Classes
    FutureDirectives
  181. val openConn: Gauge[Long]

    Permalink
    Definition Classes
    HttpMetrics
  182. val openReq: Gauge[Long]

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

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

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

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

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

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

    Permalink
    Definition Classes
    HeaderDirectives
  189. def options: Directive0

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

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

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

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

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

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

    Permalink
    Definition Classes
    ParameterDirectives
  196. def pass: Directive0

    Permalink
    Definition Classes
    BasicDirectives
  197. def patch: Directive0

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

    Permalink
    Definition Classes
    PathDirectives
  199. def pathEnd: Directive0

    Permalink
    Definition Classes
    PathDirectives
  200. def pathEndOrSingleSlash: Directive0

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

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

    Permalink
    Definition Classes
    PathDirectives
  203. def pathSingleSlash: Directive0

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

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

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

    Permalink
    Definition Classes
    DefaultMarshallers
  207. def post: Directive0

    Permalink
    Definition Classes
    MethodDirectives
  208. def postRestart(reason: Throwable): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  209. def postStop(): Unit

    Permalink
    Definition Classes
    HttpService → Actor
  210. def preRestart(reason: Throwable, message: Option[Any]): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  211. def preStart(): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  212. def provide[T](value: T): Directive1[T]

    Permalink
    Definition Classes
    BasicDirectives
  213. def put: Directive0

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

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

    Permalink
    Definition Classes
    PathDirectives
  216. def receive: PartialFunction[Any, Unit]

    Permalink

    The base receive

    The base receive

    Definition Classes
    HttpService → Actor
  217. def recoverRejections(f: (Seq[Rejection]) ⇒ RouteResult): Directive0

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

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

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

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

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

    Permalink
    Definition Classes
    RouteDirectives
  223. def reject: StandardRoute

    Permalink
    Definition Classes
    RouteDirectives
  224. def rejectEmptyResponse: Directive0

    Permalink
    Definition Classes
    MiscDirectives
  225. implicit val rejectionHandler: RejectionHandler { val orig: akka.http.scaladsl.server.RejectionHandler }

    Permalink

    Wrap all Rejections in the com.github.vonnagy.service.container.http.RejectionResponse class then marshall as json.

    Wrap all Rejections in the com.github.vonnagy.service.container.http.RejectionResponse class then marshall as json.

    Definition Classes
    RoutingHandler
  226. def requestEncodedWith(encoding: HttpEncoding): Directive0

    Permalink
    Definition Classes
    CodingDirectives
  227. def requestEntityEmpty: Directive0

    Permalink
    Definition Classes
    MiscDirectives
  228. def requestEntityPresent: Directive0

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    CodingDirectives
  236. val routeReceive: Receive

    Permalink
    Definition Classes
    RoutedService
  237. implicit val routeSettings: RoutingSettings

    Permalink
    Definition Classes
    RoutingHandler
  238. def running: Receive

    Permalink

    The receive when running

  239. def scheduleHttpMetrics(interval: FiniteDuration): Unit

    Permalink
    Attributes
    protected[com.github.vonnagy.service.container.http]
    Definition Classes
    HttpMetrics
  240. def scheme(name: String): Directive0

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

    Permalink
    Definition Classes
    MiscDirectives
  242. implicit final val self: ActorRef

    Permalink
    Definition Classes
    Actor
  243. final def sender(): ActorRef

    Permalink
    Definition Classes
    Actor
  244. def separateOnSlashes(string: String): PathMatcher0

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

    Permalink
    Definition Classes
    DefaultMarshallers
  246. def setCookie(first: HttpCookie, more: HttpCookie*): Directive0

    Permalink
    Definition Classes
    CookieDirectives
  247. lazy val sslConfig: AkkaSSLConfig

    Permalink
    Definition Classes
    SSLContextProvider
  248. implicit def sslContext: SSLContext

    Permalink
    Definition Classes
    SSLContextProvider
  249. def startHttpServer(): Unit

    Permalink

    Start the http server

  250. def stopHttpServer(): Unit

    Permalink

    Shutdown the Http server

  251. def storeUploadedFile(fieldName: String, destFn: (FileInfo) ⇒ File): Directive[(FileInfo, File)]

    Permalink
    Definition Classes
    FileUploadDirectives
    Annotations
    @ApiMayChange()
  252. def storeUploadedFiles(fieldName: String, destFn: (FileInfo) ⇒ File): Directive1[Seq[(FileInfo, File)]]

    Permalink
    Definition Classes
    FileUploadDirectives
    Annotations
    @ApiMayChange()
  253. def supervisorStrategy: SupervisorStrategy

    Permalink
    Definition Classes
    Actor
  254. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  255. implicit def system: ActorSystem

    Permalink
    Definition Classes
    SSLProvider → SSLContextProvider
  256. def textract[L](f: (RequestContext) ⇒ L)(implicit arg0: Tuple[L]): Directive[L]

    Permalink
    Definition Classes
    BasicDirectives
  257. def toStrictEntity(timeout: FiniteDuration): Directive0

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

    Permalink
    Definition Classes
    AnyRef → Any
  259. val totConn: Gauge[Long]

    Permalink
    Definition Classes
    HttpMetrics
  260. val totReq: Gauge[Long]

    Permalink
    Definition Classes
    HttpMetrics
  261. def tprovide[L](values: L)(implicit arg0: Tuple[L]): Directive[L]

    Permalink
    Definition Classes
    BasicDirectives
  262. def unhandled(message: Any): Unit

    Permalink
    Definition Classes
    Actor
  263. val uptime: Gauge[Long]

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    BasicDirectives
  271. def withPrecompressedMediaTypeSupport: Directive0

    Permalink
    Definition Classes
    CodingDirectives
  272. def withRangeSupport: Directive0

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

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

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

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

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

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

    Permalink
    Definition Classes
    MiscDirectives
  279. def withoutRequestTimeout: Directive0

    Permalink
    Definition Classes
    TimeoutDirectives
  280. def withoutSizeLimit: Directive0

    Permalink
    Definition Classes
    MiscDirectives

Deprecated Value Members

  1. def uploadedFile(fieldName: String): Directive1[(FileInfo, File)]

    Permalink
    Definition Classes
    FileUploadDirectives
    Annotations
    @deprecated
    Deprecated

    (Since version 10.0.11) Deprecated in favor of storeUploadedFile which allows to specify a file to store the upload in.

Inherited from HttpMetrics

Inherited from BaseDirectives

Inherited from SSLProvider

Inherited from SSLServerContextProvider

Inherited from SSLContextProvider

Inherited from RoutedService

Inherited from RoutingHandler

Inherited from LoggingAdapter

Inherited from SLF4JLogging

Inherited from DefaultMarshallers

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 HealthCheck

Inherited from Actor

Inherited from AnyRef

Inherited from Any

Ungrouped