Trait

com.twitter.finatra.http

HttpServer

Related Doc: package http

Permalink

trait HttpServer extends HttpServerTrait

A Finagle server which exposes external HTTP or HTTPS interfaces implemented by a Service[Request, Response] configured via an HttpRouter. This trait is intended for use from Scala or with generated Scala code.

Note

Java users are encouraged to use AbstractHttpServer instead.

Linear Supertypes
HttpServerTrait, TwitterServer, Warmup, Ports, DeprecatedLogging, Logging, TwitterServer, Lifecycle, AdminHttpServer, Hooks, DtabFlags, Linters, Stats, Slf4jBridge, App, Logging, Logging, App, CloseAwaitably, CloseAwaitably0[Unit], Awaitable[Unit], Closable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. HttpServer
  2. HttpServerTrait
  3. TwitterServer
  4. Warmup
  5. Ports
  6. DeprecatedLogging
  7. Logging
  8. TwitterServer
  9. Lifecycle
  10. AdminHttpServer
  11. Hooks
  12. DtabFlags
  13. Linters
  14. Stats
  15. Slf4jBridge
  16. App
  17. Logging
  18. Logging
  19. App
  20. CloseAwaitably
  21. CloseAwaitably0
  22. Awaitable
  23. Closable
  24. AnyRef
  25. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def configureHttp(router: HttpRouter): Unit

    Permalink

    Users MUST provide an implementation to configure the provided HttpRouter.

    Users MUST provide an implementation to configure the provided HttpRouter. The HttpRouter exposes a DSL which results in a configured Finagle Service[-Request, +Response] to serve on the ListeningServer.

    router

    the HttpRouter to configure.

    Attributes
    protected

Concrete 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. final val MinGrace: Duration

    Permalink
    Definition Classes
    App
  5. def accessLogModule: Module

    Permalink

    Default com.twitter.inject.TwitterModule for providing a com.twitter.finagle.filter.LogFormatter.

    Default com.twitter.inject.TwitterModule for providing a com.twitter.finagle.filter.LogFormatter.

    returns

    a com.twitter.inject.TwitterModule which provides a com.twitter.finagle.filter.LogFormatter implementation.

    Attributes
    protected
  6. def addAdminRoute(route: Route): Unit

    Permalink
    Definition Classes
    AdminHttpServer
  7. def addAdminRoutes(newRoutes: Seq[Route]): Unit

    Permalink
    Definition Classes
    AdminHttpServer
  8. def addDtabs(): Unit

    Permalink
    Definition Classes
    DtabFlags
  9. def addFrameworkModule(module: Module): Unit

    Permalink
    Attributes
    protected[com.twitter]
    Definition Classes
    App
  10. def addFrameworkModules(modules: Module*): Unit

    Permalink
    Attributes
    protected[com.twitter]
    Definition Classes
    App
  11. def addFrameworkOverrideModules(modules: Module*): Unit

    Permalink
    Attributes
    protected[com.twitter.inject]
    Definition Classes
    App
  12. def adminBoundAddress: InetSocketAddress

    Permalink
    Definition Classes
    AdminHttpServer
  13. var adminHttpServer: ListeningServer

    Permalink
    Attributes
    protected
    Definition Classes
    AdminHttpServer
  14. val adminPort: Flag[InetSocketAddress]

    Permalink
    Definition Classes
    AdminHttpServer
  15. def afterPostWarmup(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    TwitterServer → App
    Annotations
    @Lifecycle()
  16. def allowUndefinedFlags: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    App
  17. val appendFlag: Flag[Boolean]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  18. def args: Array[String]

    Permalink
    Definition Classes
    App
  19. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  20. val asyncFlag: Flag[Boolean]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  21. val asyncMaxSizeFlag: Flag[Int]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  22. def await(awaitables: Awaitable[_]*): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    TwitterServer
  23. def await[T <: Awaitable[_]](awaitable: T): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    TwitterServer
  24. def beforePostWarmup(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    TwitterServer → App
    Annotations
    @Lifecycle()
  25. final def build(addr: InetSocketAddress, server: Server): ListeningServer

    Permalink

    Serve the Service[Request, Response] from the configured HttpRouter.

    Serve the Service[Request, Response] from the configured HttpRouter.

    addr

    the InetSocketAddress address to bind the resultant ListeningServer.

    server

    the configured Http.Server stack.

    returns

    a constructed ListeningServer.

    Attributes
    protected[com.twitter.finatra.http]
    Definition Classes
    HttpServerHttpServerTrait
  26. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  27. final def close(deadline: Time): Future[Unit]

    Permalink
    Definition Classes
    App → Closable
  28. def close(after: Duration): Future[Unit]

    Permalink
    Definition Classes
    Closable
  29. final def close(): Future[Unit]

    Permalink
    Definition Classes
    Closable
  30. def closeAwaitably(f: ⇒ Future[Unit]): Future[Unit]

    Permalink
    Attributes
    protected
    Definition Classes
    CloseAwaitably0
  31. final def closeOnExit(closable: Closable): Unit

    Permalink
    Definition Classes
    App
  32. final def closeOnExitLast(closable: Closable): Unit

    Permalink
    Definition Classes
    App
  33. def configureAdminHttpServer(server: Server): Server

    Permalink
    Attributes
    protected
    Definition Classes
    AdminHttpServer
  34. def configureHttpServer(server: Server): Server

    Permalink

    This method allows for further configuration of the http server for parameters not exposed by this trait or for overriding defaults provided herein, e.g.,

    This method allows for further configuration of the http server for parameters not exposed by this trait or for overriding defaults provided herein, e.g.,

    override def configureHttpServer(server: Http.Server): Http.Server = { server .withMaxInitialLineSize(2048) }

    server

    - the com.twitter.finagle.Http.Server to configure.

    returns

    a configured Http.Server.

    Attributes
    protected
    Definition Classes
    HttpServerTrait
  35. def configureHttpsServer(server: Server): Server

    Permalink

    This method allows for further configuration of the https server for parameters not exposed by this trait or for overriding defaults provided herein, e.g.,

    This method allows for further configuration of the https server for parameters not exposed by this trait or for overriding defaults provided herein, e.g.,

    override def configureHttpsServer(server: Http.Server): Http.Server = { server .withMaxInitialLineSize(2048) .withTransport.tls(....) }

    server

    - the com.twitter.finagle.Http.Server to configure.

    returns

    a configured Http.Server.

    Attributes
    protected
    Definition Classes
    HttpServerTrait
  36. def configureLoggerFactories(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    DeprecatedLogging → Logging
  37. def debug(marker: Marker, message: ⇒ Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  38. def debug(message: ⇒ Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  39. def debug(marker: Marker, message: ⇒ Any): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  40. def debug(message: ⇒ Any): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  41. def debugFutureResult[T](msg: String)(func: ⇒ Future[T]): Future[T]

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  42. def debugResult[T](message: ⇒ String)(fn: ⇒ T): T

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  43. def defaultAdminPort: Int

    Permalink
    Definition Classes
    AdminHttpServer
  44. def defaultAppend: Boolean

    Permalink
    Definition Classes
    Logging
  45. def defaultCloseGracePeriod: Duration

    Permalink
    Definition Classes
    App
  46. def defaultFormatter: Formatter

    Permalink
    Definition Classes
    Logging
  47. def defaultHttpAnnouncement: String

    Permalink

    Default server announcement String for the HTTP server used as the Flag default value for httpAnnounceFlag.

    Default server announcement String for the HTTP server used as the Flag default value for httpAnnounceFlag. This can be overridden to provide a different default programmatically when a flag value cannot be passed. An empty String value is an indication to not perform any announcement of the server.

    In general, users should prefer setting the httpAnnounceFlag Flag value.

    Attributes
    protected
    Definition Classes
    HttpServerTrait
    See also

    String)

  48. def defaultHttpPort: String

    Permalink

    Default external HTTP port used as the Flag default value for httpPortFlag.

    Default external HTTP port used as the Flag default value for httpPortFlag. This can be overridden to provide a different default programmatically when a flag value cannot be passed. The format of this value is expected to be a String in the form of ":port".

    In general, users should prefer setting the httpPortFlag Flag value.

    Attributes
    protected
    Definition Classes
    HttpServerTrait
    See also

    com.twitter.finatra.http.HttpServerTrait.httpPortFlag

  49. def defaultHttpServerName: String

    Permalink

    Default server name for the external HTTP interface used as the Flag default value for httpServerNameFlag.

    Default server name for the external HTTP interface used as the Flag default value for httpServerNameFlag. This can be overridden to provide a different default programmatically when a flag value cannot be passed.

    In general, users should prefer setting the httpServerNameFlag Flag value.

    Attributes
    protected
    Definition Classes
    HttpServerTrait
    See also

    com.twitter.finatra.http.HttpServerTrait.httpServerNameFlag

  50. def defaultHttpsAnnouncement: String

    Permalink

    Default server announcement String for the HTTPS server used as the Flag default value for httpsAnnounceFlag.

    Default server announcement String for the HTTPS server used as the Flag default value for httpsAnnounceFlag. This can be overridden to provide a different default programmatically when a flag value cannot be passed. An empty String value is an indication to not perform any announcement of the server.

    In general, users should prefer setting the httpsAnnounceFlag Flag value.

    Attributes
    protected
    Definition Classes
    HttpServerTrait
    See also

    String)

  51. def defaultHttpsPort: String

    Permalink

    Default external HTTPS port used as the Flag default value for httpsPortFlag.

    Default external HTTPS port used as the Flag default value for httpsPortFlag. This can be overridden to provide a different default programmatically when a flag value cannot be passed. The format of this value is expected to be a String in the form of ":port".

    In general, users should prefer setting the httpsPortFlag Flag value.

    Attributes
    protected
    Definition Classes
    HttpServerTrait
    See also

    com.twitter.finatra.http.HttpServerTrait.httpsPortFlag

  52. def defaultHttpsServerName: String

    Permalink

    Default server name for serving the external HTTPS interface used as the Flag default value for httpsServerNameFlag.

    Default server name for serving the external HTTPS interface used as the Flag default value for httpsServerNameFlag. This can be overridden to provide a different default programmatically when a flag value cannot be passed.

    In general, users should prefer setting the httpsServerNameFlag Flag value.

    Attributes
    protected
    Definition Classes
    HttpServerTrait
    See also

    com.twitter.finatra.http.HttpServerTrait.httpsServerNameFlag

  53. def defaultLogLevel: Level

    Permalink
    Definition Classes
    Logging
  54. def defaultMaxRequestSize: StorageUnit

    Permalink

    Default maximum request message size this server can receive used as the Flag default value for maxRequestSizeFlag.

    Default maximum request message size this server can receive used as the Flag default value for maxRequestSizeFlag. This can be overridden to provide a different default programmatically when a flag value cannot be passed. The format of this flag is expected to be a String which is parsable into a com.twitter.util.StorageUnit.

    In general, users should prefer setting the maxRequestSizeFlag Flag value.

    Attributes
    protected
    Definition Classes
    HttpServerTrait
    See also

    com.twitter.finatra.http.HttpServerTrait.maxRequestSizeFlag

    com.twitter.finagle.Http.Server.withMaxRequestSize

    com.twitter.util.StorageUnit

  55. def defaultOutput: String

    Permalink
    Definition Classes
    Logging
  56. def defaultRollPolicy: Policy

    Permalink
    Definition Classes
    Logging
  57. def defaultRotateCount: Int

    Permalink
    Definition Classes
    Logging
  58. def defaultShutdownTimeout: Duration

    Permalink

    Default shutdown timeout used as the Flag default value for shutdownTimeoutFlag.

    Default shutdown timeout used as the Flag default value for shutdownTimeoutFlag. This represents the deadline for the closing of this server which can be overridden to provide a different default programmatically when a flag value cannot be passed.

    In general, users should prefer setting the shutdownTimeoutFlag Flag value.

    Attributes
    protected
    Definition Classes
    HttpServerTrait
    Note

    the value is used to denote a delta "from now", that is this value is applied as: server.close(shutdownTimeoutDuration.fromNow())

    See also

    com.twitter.finatra.http.HttpServerTrait.shutdownTimeoutFlag

    https://github.com/twitter/util/blob/b0a5d06269b9526b4408239ce1441b2a213dd0df/util-core/src/main/scala/com/twitter/util/Duration.scala#L436

    Time)

  59. def disableAdminHttpServer: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    AdminHttpServer
  60. val dtabAddBaseFlag: Flag[Dtab]

    Permalink
    Definition Classes
    DtabFlags
  61. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  63. def error(marker: Marker, message: ⇒ Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  64. def error(message: ⇒ Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  65. def error(marker: Marker, message: ⇒ Any): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  66. def error(message: ⇒ Any): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  67. def errorResult[T](message: ⇒ String)(fn: ⇒ T): T

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  68. def exitOnError(reason: String, details: ⇒ String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    App
  69. def exitOnError(reason: String): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    App
  70. def exitOnError(throwable: Throwable): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    App
  71. def failfastOnFlagsNotParsed: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    App → App
  72. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  73. val flag: Flags

    Permalink
    Definition Classes
    App
  74. def frameworkConfigureHttpServer(server: Server): Server

    Permalink
    Attributes
    protected[com.twitter.finatra]
    Definition Classes
    HttpServerTrait
  75. def frameworkConfigureHttpsServer(server: Server): Server

    Permalink
    Attributes
    protected[com.twitter.finatra]
    Definition Classes
    HttpServerTrait
  76. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  77. val group: String

    Permalink
    Definition Classes
    Lifecycle
  78. def handle(clazz: Class[_ <: Handler]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    TwitterServer
  79. def handle[T <: Handler]()(implicit arg0: Manifest[T]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    TwitterServer
  80. def handlers: List[() ⇒ Handler]

    Permalink
    Definition Classes
    Logging
  81. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  82. final def httpBoundAddress: Option[InetSocketAddress]

    Permalink

    The address to which the underlying Http ListeningServer is bound

    The address to which the underlying Http ListeningServer is bound

    Attributes
    protected
    Definition Classes
    HttpServerTrait
    Note

    this returns None before the postWarmup() lifecycle phase is done or if the server fails to start up.

  83. def httpExternalPort: Option[Int]

    Permalink
    Definition Classes
    HttpServerTrait → Ports
  84. def httpResponseClassifierModule: Module

    Permalink

    Default com.twitter.inject.TwitterModule for providing an HttpResponseClassifier.

    Default com.twitter.inject.TwitterModule for providing an HttpResponseClassifier.

    returns

    a com.twitter.inject.TwitterModule which provides an HttpResponseClassifier implementation.

    Attributes
    protected
    Definition Classes
    HttpServerTrait
  85. final def httpService: Service[Request, Response]

    Permalink

    Configuration of the Service[Request, Response] to serve on the ListeningServer is defined by configuring the HttpRouter and not by implementation of this method, thus this method overridden to be final and set to a NilService.

    Configuration of the Service[Request, Response] to serve on the ListeningServer is defined by configuring the HttpRouter and not by implementation of this method, thus this method overridden to be final and set to a NilService.

    Attributes
    protected
    Definition Classes
    HttpServerHttpServerTrait
  86. final def httpsBoundAddress: Option[InetSocketAddress]

    Permalink

    The address to which the underlying Https ListeningServer is bound

    The address to which the underlying Https ListeningServer is bound

    Attributes
    protected
    Definition Classes
    HttpServerTrait
    Note

    this returns None before the postWarmup() lifecycle phase is done or if the server fails to start up.

  87. def httpsExternalPort: Option[Int]

    Permalink
    Definition Classes
    HttpServerTrait → Ports
  88. val inferClassNamesFlag: Flag[Boolean]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  89. def info(marker: Marker, message: ⇒ Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  90. def info(message: ⇒ Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  91. def info(marker: Marker, message: ⇒ Any): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  92. def info(message: ⇒ Any): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  93. def infoResult[T](message: ⇒ String)(fn: ⇒ T): T

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  94. final def init(f: ⇒ Unit): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    App
  95. def injector: Injector

    Permalink
    Definition Classes
    App
  96. def isDebugEnabled(marker: Marker): Boolean

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  97. def isDebugEnabled: Boolean

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  98. def isErrorEnabled(marker: Marker): Boolean

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  99. def isErrorEnabled: Boolean

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  100. def isInfoEnabled(marker: Marker): Boolean

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  101. def isInfoEnabled: Boolean

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  102. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  103. def isReady(implicit permit: CanAwait): Boolean

    Permalink
    Definition Classes
    CloseAwaitably0 → Awaitable
  104. def isTraceEnabled(marker: Marker): Boolean

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  105. def isTraceEnabled: Boolean

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  106. def isWarnEnabled(marker: Marker): Boolean

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  107. def isWarnEnabled: Boolean

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  108. def jacksonModule: Module

    Permalink

    Default com.twitter.inject.TwitterModule for providing a com.twitter.finatra.jackson.ScalaObjectMapper.

  109. def javaModules: Collection[Module]

    Permalink
    Attributes
    protected
    Definition Classes
    App
  110. def javaOverrideModules: Collection[Module]

    Permalink
    Attributes
    protected
    Definition Classes
    App
  111. val levelFlag: Flag[Level]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  112. def libraryName: String

    Permalink
    Attributes
    protected
    Definition Classes
    TwitterServer → AdminHttpServer
  113. def linterRules: Seq[Rule]

    Permalink
    Definition Classes
    Linters
  114. def loadModules(): InstalledModules

    Permalink
    Attributes
    protected[com.twitter.inject]
    Definition Classes
    App
  115. def loadServiceBindings: Seq[Binding[_]]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    App
  116. final def logger: Logger

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  117. def loggerFactories: List[LoggerFactory]

    Permalink
    Definition Classes
    Logging
  118. final def loggerName: String

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  119. final def main(): Unit

    Permalink
    Definition Classes
    TwitterServer → App
  120. final def main(args: Array[String]): Unit

    Permalink
    Definition Classes
    App
  121. def messageBodyModule: Module

    Permalink

    Default com.twitter.inject.TwitterModule for providing implementations for a com.twitter.finatra.http.marshalling.DefaultMessageBodyReader and a com.twitter.finatra.http.marshalling.DefaultMessageBodyWriter.

  122. def modules: Seq[Module]

    Permalink
    Attributes
    protected
    Definition Classes
    App
  123. val name: String

    Permalink
    Definition Classes
    App
  124. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  125. final def nonExitingMain(args: Array[String]): Unit

    Permalink
    Definition Classes
    App
  126. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  128. final def onExit(f: ⇒ Unit): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    App
  129. final def onExitLast(f: ⇒ Unit): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    App
  130. val outputFlag: Flag[String]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  131. def overrideModules: Seq[Module]

    Permalink
    Attributes
    protected
    Definition Classes
    App
  132. def parseArgs(args: Array[String]): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    App
  133. def postInjectorStartup(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    HttpServer → TwitterServer → App
    Annotations
    @Lifecycle()
  134. def postWarmup(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    HttpServerTrait → TwitterServer → App
    Annotations
    @Lifecycle()
  135. final def postmain(f: ⇒ Unit): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    App
  136. def prebindWarmup(): Unit

    Permalink
    Definition Classes
    Warmup
  137. final def premain(f: ⇒ Unit): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    App
  138. def ready(timeout: Duration)(implicit permit: CanAwait): HttpServer.this.type

    Permalink
    Definition Classes
    CloseAwaitably0 → Awaitable
  139. def resolveFinagleClientsOnStartup: Boolean

    Permalink
    Attributes
    protected
    Definition Classes
    TwitterServer
  140. def result(timeout: Duration)(implicit permit: CanAwait): Unit

    Permalink
    Definition Classes
    CloseAwaitably0 → Awaitable
  141. val rollPolicyFlag: Flag[Policy]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  142. val rotateCountFlag: Flag[Int]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  143. def routes: Seq[Route]

    Permalink
    Definition Classes
    AdminHttpServer
  144. final def run(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    TwitterServer → App
  145. def setup(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    TwitterServer
  146. lazy val shutdownTimer: Timer

    Permalink
    Attributes
    protected
    Definition Classes
    TwitterServer → App
  147. def start(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    TwitterServer
  148. def statsReceiver: StatsReceiver

    Permalink
    Definition Classes
    Stats
  149. def statsReceiverModule: Module

    Permalink
    Attributes
    protected
    Definition Classes
    TwitterServer
  150. def streamRequest: Boolean

    Permalink

    If false, the underlying Netty pipeline collects HttpChunks into the body of each Request Set to true if you wish to stream parse requests using request.reader.read

    If false, the underlying Netty pipeline collects HttpChunks into the body of each Request Set to true if you wish to stream parse requests using request.reader.read

    Attributes
    protected
    Definition Classes
    HttpServerTrait
  151. final val suppressGracefulShutdownErrors: Boolean

    Permalink
    Definition Classes
    TwitterServer → App
  152. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  153. def thriftPort: Option[Int]

    Permalink
    Definition Classes
    Ports
  154. def time[T](formatStr: String)(func: ⇒ T): T

    Permalink
    Attributes
    protected
    Definition Classes
    Logging
  155. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  156. def trace(marker: Marker, message: ⇒ Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  157. def trace(message: ⇒ Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  158. def trace(marker: Marker, message: ⇒ Any): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  159. def trace(message: ⇒ Any): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  160. def traceResult[T](message: ⇒ String)(fn: ⇒ T): T

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  161. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  164. def warmup(): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    TwitterServer → App
  165. def warmupComplete(): Unit

    Permalink
    Definition Classes
    Warmup
  166. def warn(marker: Marker, message: ⇒ Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  167. def warn(message: ⇒ Any, cause: Throwable): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  168. def warn(marker: Marker, message: ⇒ Any): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  169. def warn(message: ⇒ Any): Unit

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  170. def warnResult[T](message: ⇒ String)(fn: ⇒ T): T

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging

Deprecated Value Members

  1. lazy val log: Logger

    Permalink
    Definition Classes
    DeprecatedLogging → Logging
    Annotations
    @deprecated
    Deprecated

    (Since version 2017-10-06) For backwards compatibility only.

Inherited from HttpServerTrait

Inherited from TwitterServer

Inherited from Warmup

Inherited from Ports

Inherited from DeprecatedLogging

Inherited from Logging

Inherited from TwitterServer

Inherited from Lifecycle

Inherited from AdminHttpServer

Inherited from Hooks

Inherited from DtabFlags

Inherited from Linters

Inherited from Stats

Inherited from Slf4jBridge

Inherited from App

Inherited from Logging

Inherited from Logging

Inherited from App

Inherited from CloseAwaitably

Inherited from CloseAwaitably0[Unit]

Inherited from Awaitable[Unit]

Inherited from Closable

Inherited from AnyRef

Inherited from Any

Ungrouped