Class

com.twitter.finatra.http

AbstractHttpServer

Related Doc: package http

Permalink

abstract class AbstractHttpServer extends AbstractTwitterServer with HttpServer

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

Note

Scala users are encouraged to use HttpServer instead.

Linear Supertypes
HttpServer, HttpServerTrait, AbstractTwitterServer, TwitterServer, Warmup, Ports, DeprecatedLogging, Logging, TwitterServer, Lifecycle, AdminHttpServer, Hooks, DtabFlags, Linters, Stats, Slf4jBridge, AbstractApp, App, Logging, Logging, App, Lifecycle, CloseOnceAwaitably, CloseOnceAwaitably0[Unit], Awaitable[Unit], ClosableOnce, CloseOnce, Closable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AbstractHttpServer
  2. HttpServer
  3. HttpServerTrait
  4. AbstractTwitterServer
  5. TwitterServer
  6. Warmup
  7. Ports
  8. DeprecatedLogging
  9. Logging
  10. TwitterServer
  11. Lifecycle
  12. AdminHttpServer
  13. Hooks
  14. DtabFlags
  15. Linters
  16. Stats
  17. Slf4jBridge
  18. AbstractApp
  19. App
  20. Logging
  21. Logging
  22. App
  23. Lifecycle
  24. CloseOnceAwaitably
  25. CloseOnceAwaitably0
  26. Awaitable
  27. ClosableOnce
  28. CloseOnce
  29. Closable
  30. AnyRef
  31. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new AbstractHttpServer()

    Permalink

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
    Definition Classes
    HttpServer

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
    Definition Classes
    HttpServer
  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. final def createFlag[T](name: String, default: T, help: String, flaggable: Flaggable[T]): Flag[T]

    Permalink
    Definition Classes
    AbstractApp
  39. final def createMandatoryFlag[T](name: String, help: String, usage: String, flaggable: Flaggable[T]): Flag[T]

    Permalink
    Definition Classes
    AbstractApp
  40. def debug(marker: Marker, message: ⇒ Any, cause: Throwable): Unit

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

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

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

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

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

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

    Permalink
    Definition Classes
    AdminHttpServer
  47. def defaultAppend: Boolean

    Permalink
    Definition Classes
    Logging
  48. def defaultCloseGracePeriod: Duration

    Permalink
    Definition Classes
    App
  49. def defaultFormatter: Formatter

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

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

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

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

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

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

  56. def defaultLogLevel: Level

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

  58. def defaultOutput: String

    Permalink
    Definition Classes
    Logging
  59. def defaultRollPolicy: Policy

    Permalink
    Definition Classes
    Logging
  60. def defaultRotateCount: Int

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

  62. def disableAdminHttpServer: Boolean

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

  86. def httpExternalPort: Option[Int]

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

  90. def httpsExternalPort: Option[Int]

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    App
  99. final def isClosed: Boolean

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink

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

  113. def javaModules: Collection[Module]

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Logging
  122. final def loggerName: String

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

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

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

  126. def modules: Seq[Module]

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

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

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

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

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

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

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

    Permalink
    Attributes
    protected
    Definition Classes
    Lifecycle
  134. def onExit(): Unit

    Permalink
    Definition Classes
    AbstractApp
  135. final def onExit(f: ⇒ Unit): Unit

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

    Permalink
    Definition Classes
    AbstractApp
  137. final def onExitLast(f: ⇒ Unit): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    App
  138. def onInit(): Unit

    Permalink
    Definition Classes
    AbstractApp
  139. val outputFlag: Flag[String]

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

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

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

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

    Permalink
    Definition Classes
    AbstractApp
  144. def postWarmup(): Unit

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

    Permalink
    Attributes
    protected
    Definition Classes
    App
  146. def preMain(): Unit

    Permalink
    Definition Classes
    AbstractApp
  147. def prebindWarmup(): Unit

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

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

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

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

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

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

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Stats
  161. def statsReceiverModule: Module

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

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

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

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

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

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

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

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

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

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

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

  174. final def wait(): Unit

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

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

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

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

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

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

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

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

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

Inherited from HttpServerTrait

Inherited from AbstractTwitterServer

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 AbstractApp

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