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, Lifecycle, CloseOnceAwaitably, CloseOnceAwaitably0[Unit], Awaitable[Unit], ClosableOnce, CloseOnce, 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. Lifecycle
  21. CloseOnceAwaitably
  22. CloseOnceAwaitably0
  23. Awaitable
  24. ClosableOnce
  25. CloseOnce
  26. Closable
  27. AnyRef
  28. 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
    CloseOnce
  28. def close(after: Duration): Future[Unit]

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

    Permalink
    Definition Classes
    Closable
  30. final def closeFuture: Future[Unit]

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

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

    Permalink
    Definition Classes
    App
  33. def closeOnce(deadline: Time): Future[Unit]

    Permalink
    Attributes
    protected
    Definition Classes
    App → CloseOnce
  34. def configureAdminHttpServer(server: Server): Server

    Permalink
    Attributes
    protected
    Definition Classes
    AdminHttpServer
  35. 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
  36. 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
  37. def configureLoggerFactories(): Unit

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AdminHttpServer
  45. def defaultAppend: Boolean

    Permalink
    Definition Classes
    Logging
  46. def defaultCloseGracePeriod: Duration

    Permalink
    Definition Classes
    App
  47. def defaultFormatter: Formatter

    Permalink
    Definition Classes
    Logging
  48. 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)

  49. 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

  50. 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

  51. 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)

  52. 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

  53. 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

  54. def defaultLogLevel: Level

    Permalink
    Definition Classes
    Logging
  55. 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

  56. def defaultOutput: String

    Permalink
    Definition Classes
    Logging
  57. def defaultRollPolicy: Policy

    Permalink
    Definition Classes
    Logging
  58. def defaultRotateCount: Int

    Permalink
    Definition Classes
    Logging
  59. 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)

  60. def disableAdminHttpServer: Boolean

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  83. 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.

  84. def httpExternalPort: Option[Int]

    Permalink
    Definition Classes
    HttpServerTrait → Ports
  85. 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
  86. 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
  87. 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.

  88. def httpsExternalPort: Option[Int]

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    App
  97. final def isClosed: Boolean

    Permalink
    Definition Classes
    CloseOnce
  98. def isDebugEnabled(marker: Marker): Boolean

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    CloseOnceAwaitably0 → Awaitable
  106. def isTraceEnabled(marker: Marker): Boolean

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

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

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

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

    Permalink

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

  111. def javaModules: Collection[Module]

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Logging
  120. final def loggerName: String

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

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

    Permalink
    Definition Classes
    App
  123. 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.

  124. def modules: Seq[Module]

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  130. final def observe(event: Event)(f: ⇒ Unit): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Lifecycle
  131. final def observeFuture(event: Event)(f: Future[Unit]): Future[Unit]

    Permalink
    Attributes
    protected
    Definition Classes
    Lifecycle
  132. final def onExit(f: ⇒ Unit): Unit

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    CloseOnceAwaitably0 → Awaitable
  143. def resolveFinagleClientsOnStartup: Boolean

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

    Permalink
    Definition Classes
    CloseOnceAwaitably0 → Awaitable
  145. val rollPolicyFlag: Flag[Policy]

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

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

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

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    TwitterServer
  152. final def startupCompletionEvent: Event

    Permalink
    Attributes
    protected[com.twitter]
    Definition Classes
    TwitterServer → Warmup → TwitterServer
  153. def statsReceiver: StatsReceiver

    Permalink
    Definition Classes
    Stats
  154. def statsReceiverModule: Module

    Permalink
    Attributes
    protected
    Definition Classes
    TwitterServer
  155. 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
  156. final val suppressGracefulShutdownErrors: Boolean

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

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

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

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

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

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

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

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

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

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  166. def validatorModule: Module

    Permalink

    Default com.twitter.inject.TwitterModule for providing a com.twitter.finatra.validation.Validator.

    returns

    a com.twitter.inject.TwitterModule which provides a com.twitter.finatra.validation.Validator implementation.

    Attributes
    protected
    Note

    This can be overriden to provide a different Validator. The new Validator will replace the default Validator in jacksonModule, and be used to apply the validation logic in com.fasterxml.jackson.module.scala.ScalaObjectMapper and during HTTP request parsing.

  167. final def wait(): Unit

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

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

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

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

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

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

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

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

    Permalink
    Attributes
    protected[this]
    Definition Classes
    Logging
  176. 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 Lifecycle

Inherited from CloseOnceAwaitably

Inherited from CloseOnceAwaitably0[Unit]

Inherited from Awaitable[Unit]

Inherited from ClosableOnce

Inherited from CloseOnce

Inherited from Closable

Inherited from AnyRef

Inherited from Any

Ungrouped