Packages

c

com.twitter.finatra.http

AbstractHttpServer

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.

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. AbstractHttpServer
  2. HttpServer
  3. HttpServerTrait
  4. AbstractTwitterServer
  5. TwitterServer
  6. Warmup
  7. Ports
  8. TwitterServer
  9. Lifecycle
  10. AdminHttpServer
  11. Hooks
  12. DtabFlags
  13. Linters
  14. Stats
  15. AbstractApp
  16. App
  17. Logging
  18. Slf4jBridge
  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. Protected

Instance Constructors

  1. new AbstractHttpServer()

Abstract Value Members

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

    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
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final val MinGrace: Duration
    Definition Classes
    App
  5. def accessLogModule: Module

    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
    Definition Classes
    AdminHttpServer
  7. def addAdminRoutes(newRoutes: Seq[Route]): Unit
    Definition Classes
    AdminHttpServer
  8. def addDtabs(): Unit
    Definition Classes
    DtabFlags
  9. def addFrameworkModule(module: Module): Unit
    Attributes
    protected[twitter]
    Definition Classes
    App
  10. def addFrameworkModules(modules: Module*): Unit
    Attributes
    protected[twitter]
    Definition Classes
    App
  11. def addFrameworkOverrideModules(modules: Module*): Unit
    Attributes
    protected[inject]
    Definition Classes
    App
  12. def adminBoundAddress: InetSocketAddress
    Definition Classes
    AdminHttpServer
  13. val adminHttpServer: ListeningServer
    Attributes
    protected
    Definition Classes
    AdminHttpServer
    Annotations
    @volatile()
  14. val adminPort: Flag[InetSocketAddress]
    Definition Classes
    AdminHttpServer
  15. def afterPostWarmup(): Unit
    Attributes
    protected
    Definition Classes
    TwitterServer → App
    Annotations
    @Lifecycle()
  16. def allowUndefinedFlags: Boolean
    Attributes
    protected
    Definition Classes
    App
  17. def args: Array[String]
    Definition Classes
    App
  18. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  19. def await(awaitables: Awaitable[_]*): Unit
    Attributes
    protected
    Definition Classes
    TwitterServer
  20. def await[T <: Awaitable[_]](awaitable: T): Unit
    Attributes
    protected
    Definition Classes
    TwitterServer
  21. def beforePostWarmup(): Unit
    Attributes
    protected
    Definition Classes
    TwitterServer → App
    Annotations
    @Lifecycle()
  22. def buildHttpListeningServer(addr: InetSocketAddress, server: Server): ListeningServer

    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 HTTP ListeningServer.

    Attributes
    protected
    Definition Classes
    HttpServerHttpServerTrait
  23. def buildHttpsListeningServer(addr: InetSocketAddress, server: Server): ListeningServer

    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 HTTPS ListeningServer.

    Attributes
    protected
    Definition Classes
    HttpServerHttpServerTrait
  24. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  25. final def close(deadline: Time): Future[Unit]
    Definition Classes
    CloseOnce → Closable
  26. def close(after: Duration): Future[Unit]
    Definition Classes
    Closable
  27. final def close(): Future[Unit]
    Definition Classes
    Closable
  28. final def closeFuture: Future[Unit]
    Attributes
    protected
    Definition Classes
    CloseOnce
  29. final def closeOnExit(closable: Closable): Unit
    Definition Classes
    App
  30. final def closeOnExitLast(closable: Closable): Unit
    Definition Classes
    App
  31. def closeOnce(deadline: Time): Future[Unit]
    Attributes
    protected
    Definition Classes
    App → CloseOnce
  32. def configureAdminHttpServer(server: Server): Server
    Attributes
    protected
    Definition Classes
    AdminHttpServer
  33. def configureHttpServer(server: Server): Server

    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
  34. def configureHttpsServer(server: Server): Server

    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
  35. final def createFlag[T](name: String, default: T, help: String, flaggable: Flaggable[T]): Flag[T]
    Definition Classes
    AbstractApp
  36. final def createMandatoryFlag[T](name: String, help: String, usage: String, flaggable: Flaggable[T]): Flag[T]
    Definition Classes
    AbstractApp
  37. def debug(marker: Marker, message: => Any, cause: Throwable): Unit
    Attributes
    protected[this]
    Definition Classes
    Logging
  38. def debug(message: => Any, cause: Throwable): Unit
    Attributes
    protected[this]
    Definition Classes
    Logging
  39. def debug(marker: Marker, message: => Any): Unit
    Attributes
    protected[this]
    Definition Classes
    Logging
  40. def debug(message: => Any): Unit
    Attributes
    protected[this]
    Definition Classes
    Logging
  41. def debugResult[T](message: => String)(fn: => T): T
    Attributes
    protected[this]
    Definition Classes
    Logging
  42. def defaultAdminPort: Int
    Definition Classes
    AdminHttpServer
  43. def defaultCloseGracePeriod: Duration
    Definition Classes
    App
  44. def defaultHttpAnnouncement: String

    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)

  45. def defaultHttpPort: String

    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

  46. def defaultHttpServerName: String

    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

  47. def defaultHttpsAnnouncement: String

    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)

  48. def defaultHttpsPort: String

    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

  49. def defaultHttpsServerName: String

    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

  50. def defaultMaxRequestSize: StorageUnit

    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.util.StorageUnit

    com.twitter.finagle.Http.Server.withMaxRequestSize

    com.twitter.finatra.http.HttpServerTrait.maxRequestSizeFlag

  51. def defaultShutdownTimeout: Duration

    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

    Time)

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

    com.twitter.finatra.http.HttpServerTrait.shutdownTimeoutFlag

  52. def disableAdminHttpServer: Boolean
    Attributes
    protected
    Definition Classes
    AdminHttpServer
  53. val dtabAddBaseFlag: Flag[Dtab]
    Definition Classes
    DtabFlags
  54. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  55. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  56. def error(marker: Marker, message: => Any, cause: Throwable): Unit
    Attributes
    protected[this]
    Definition Classes
    Logging
  57. def error(message: => Any, cause: Throwable): Unit
    Attributes
    protected[this]
    Definition Classes
    Logging
  58. def error(marker: Marker, message: => Any): Unit
    Attributes
    protected[this]
    Definition Classes
    Logging
  59. def error(message: => Any): Unit
    Attributes
    protected[this]
    Definition Classes
    Logging
  60. def errorResult[T](message: => String)(fn: => T): T
    Attributes
    protected[this]
    Definition Classes
    Logging
  61. def exitOnError(reason: String, details: => String): Unit
    Attributes
    protected
    Definition Classes
    App
  62. def exitOnError(reason: String): Unit
    Attributes
    protected
    Definition Classes
    App
  63. def exitOnError(throwable: Throwable): Unit
    Attributes
    protected
    Definition Classes
    App
  64. def failfastOnFlagsNotParsed: Boolean
    Attributes
    protected
    Definition Classes
    App → App
  65. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  66. final def flag: Flags
    Definition Classes
    App
  67. def frameworkConfigureHttpServer(server: Server): Server
    Attributes
    protected[finatra]
    Definition Classes
    HttpServerTrait
  68. def frameworkConfigureHttpsServer(server: Server): Server
    Attributes
    protected[finatra]
    Definition Classes
    HttpServerTrait
  69. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  70. val group: String
    Definition Classes
    Lifecycle
  71. def handle(clazz: Class[_ <: Handler]): Unit
    Attributes
    protected
    Definition Classes
    TwitterServer
  72. def handle[T <: Handler]()(implicit arg0: Manifest[T]): Unit
    Attributes
    protected
    Definition Classes
    TwitterServer
  73. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  74. final def httpBoundAddress: Option[InetSocketAddress]

    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.

  75. def httpExternalPort: Option[Int]
    Definition Classes
    HttpServerTrait → Ports
  76. def httpResponseClassifierModule: Module

    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
  77. final def httpService: Service[Request, Response]

    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
  78. final def httpsBoundAddress: Option[InetSocketAddress]

    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.

  79. def httpsExternalPort: Option[Int]
    Definition Classes
    HttpServerTrait → Ports
  80. def includeGlobalFlags: Boolean
    Attributes
    protected
    Definition Classes
    App
  81. def info(marker: Marker, message: => Any, cause: Throwable): Unit
    Attributes
    protected[this]
    Definition Classes
    Logging
  82. def info(message: => Any, cause: Throwable): Unit
    Attributes
    protected[this]
    Definition Classes
    Logging
  83. def info(marker: Marker, message: => Any): Unit
    Attributes
    protected[this]
    Definition Classes
    Logging
  84. def info(message: => Any): Unit
    Attributes
    protected[this]
    Definition Classes
    Logging
  85. def infoResult[T](message: => String)(fn: => T): T
    Attributes
    protected[this]
    Definition Classes
    Logging
  86. final def init(f: => Unit): Unit
    Attributes
    protected
    Definition Classes
    App
  87. def injector: Injector
    Definition Classes
    App
  88. final def isClosed: Boolean
    Definition Classes
    CloseOnce
  89. def isDebugEnabled(marker: Marker): Boolean
    Attributes
    protected[this]
    Definition Classes
    Logging
  90. def isDebugEnabled: Boolean
    Attributes
    protected[this]
    Definition Classes
    Logging
  91. def isErrorEnabled(marker: Marker): Boolean
    Attributes
    protected[this]
    Definition Classes
    Logging
  92. def isErrorEnabled: Boolean
    Attributes
    protected[this]
    Definition Classes
    Logging
  93. def isInfoEnabled(marker: Marker): Boolean
    Attributes
    protected[this]
    Definition Classes
    Logging
  94. def isInfoEnabled: Boolean
    Attributes
    protected[this]
    Definition Classes
    Logging
  95. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  96. def isReady(implicit permit: CanAwait): Boolean
    Definition Classes
    CloseOnceAwaitably0 → Awaitable
  97. def isTraceEnabled(marker: Marker): Boolean
    Attributes
    protected[this]
    Definition Classes
    Logging
  98. def isTraceEnabled: Boolean
    Attributes
    protected[this]
    Definition Classes
    Logging
  99. def isWarnEnabled(marker: Marker): Boolean
    Attributes
    protected[this]
    Definition Classes
    Logging
  100. def isWarnEnabled: Boolean
    Attributes
    protected[this]
    Definition Classes
    Logging
  101. def jacksonModule: Module

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

    returns

    a com.twitter.inject.TwitterModule which provides a com.twitter.util.jackson.ScalaObjectMapper implementation.

    Attributes
    protected
    Definition Classes
    HttpServer
  102. def javaModules: Collection[Module]
    Attributes
    protected
    Definition Classes
    App
  103. def javaOverrideModules: Collection[Module]
    Attributes
    protected
    Definition Classes
    App
  104. def libraryName: String
    Attributes
    protected
    Definition Classes
    TwitterServer → AdminHttpServer
  105. def linterRules: Seq[Rule]
    Definition Classes
    Linters
  106. def loadModules(): InstalledModules
    Attributes
    protected[inject]
    Definition Classes
    App
  107. def loadServiceBindings: Seq[Binding[_]]
    Attributes
    protected[this]
    Definition Classes
    App
  108. final def logger: Logger
    Attributes
    protected[this]
    Definition Classes
    Logging
  109. final def loggerName: String
    Attributes
    protected[this]
    Definition Classes
    Logging
  110. final def main(): Unit
    Definition Classes
    TwitterServer → App
  111. final def main(args: Array[String]): Unit
    Definition Classes
    App
  112. def messageBodyModule: Module

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

  113. def modules: Seq[Module]
    Attributes
    protected
    Definition Classes
    App
  114. def name: String
    Definition Classes
    App
  115. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  116. final def nonExitingMain(args: Array[String]): Unit
    Definition Classes
    App
  117. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  118. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  119. final def observe(event: Event)(f: => Unit): Unit
    Attributes
    protected
    Definition Classes
    Lifecycle
  120. final def observeFuture(event: Event)(f: Future[Unit]): Future[Unit]
    Attributes
    protected
    Definition Classes
    Lifecycle
  121. def onExit(): Unit
    Definition Classes
    AbstractApp
  122. final def onExit(f: => Unit): Unit
    Attributes
    protected
    Definition Classes
    App
  123. def onExitLast(): Unit
    Definition Classes
    AbstractApp
  124. final def onExitLast(f: => Unit): Unit
    Attributes
    protected
    Definition Classes
    App
  125. def onInit(): Unit
    Definition Classes
    AbstractApp
  126. def overrideModules: Seq[Module]
    Attributes
    protected
    Definition Classes
    App
  127. def parseArgs(args: Array[String]): Unit
    Attributes
    protected[this]
    Definition Classes
    App
  128. def postInjectorStartup(): Unit
    Attributes
    protected
    Definition Classes
    HttpServer → TwitterServer → App
    Annotations
    @Lifecycle()
  129. def postMain(): Unit
    Definition Classes
    AbstractApp
  130. def postWarmup(): Unit
    Attributes
    protected
    Definition Classes
    HttpServerTrait → TwitterServer → App
    Annotations
    @Lifecycle()
  131. final def postmain(f: => Unit): Unit
    Attributes
    protected
    Definition Classes
    App
  132. def preMain(): Unit
    Definition Classes
    AbstractApp
  133. def prebindWarmup(): Unit
    Definition Classes
    Warmup
  134. final def premain(f: => Unit): Unit
    Attributes
    protected
    Definition Classes
    App
  135. def ready(timeout: Duration)(implicit permit: CanAwait): AbstractHttpServer.this.type
    Definition Classes
    CloseOnceAwaitably0 → Awaitable
  136. def resolveFinagleClientsOnStartup: Boolean
    Attributes
    protected
    Definition Classes
    TwitterServer
  137. def result(timeout: Duration)(implicit permit: CanAwait): Unit
    Definition Classes
    CloseOnceAwaitably0 → Awaitable
  138. def routes: Seq[Route]
    Definition Classes
    AdminHttpServer
  139. final def run(): Unit
    Attributes
    protected
    Definition Classes
    TwitterServer → App
  140. final def runOnExit(runnable: Runnable): Unit
    Attributes
    protected
    Definition Classes
    App
  141. final def runOnExitLast(runnable: Runnable): Unit
    Attributes
    protected
    Definition Classes
    App
  142. def setup(): Unit
    Attributes
    protected
    Definition Classes
    TwitterServer
  143. lazy val shutdownTimer: Timer
    Attributes
    protected
    Definition Classes
    TwitterServer → App
  144. def start(): Unit
    Attributes
    protected
    Definition Classes
    TwitterServer
  145. def startAdminHttpServer(): Unit
    Attributes
    protected
    Definition Classes
    AdminHttpServer
  146. final def startupCompletionEvent: Event
    Attributes
    protected[twitter]
    Definition Classes
    TwitterServer → Warmup → TwitterServer
  147. def statsReceiver: StatsReceiver
    Definition Classes
    Stats
  148. def statsReceiverModule: Module
    Attributes
    protected
    Definition Classes
    TwitterServer
  149. def streamRequest: Boolean

    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
  150. final val suppressGracefulShutdownErrors: Boolean
    Definition Classes
    TwitterServer → App
  151. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  152. def thriftPort: Option[Int]
    Definition Classes
    Ports
  153. def toString(): String
    Definition Classes
    AnyRef → Any
  154. def trace(marker: Marker, message: => Any, cause: Throwable): Unit
    Attributes
    protected[this]
    Definition Classes
    Logging
  155. def trace(message: => Any, cause: Throwable): Unit
    Attributes
    protected[this]
    Definition Classes
    Logging
  156. def trace(marker: Marker, message: => Any): Unit
    Attributes
    protected[this]
    Definition Classes
    Logging
  157. def trace(message: => Any): Unit
    Attributes
    protected[this]
    Definition Classes
    Logging
  158. def traceResult[T](message: => String)(fn: => T): T
    Attributes
    protected[this]
    Definition Classes
    Logging
  159. def validatorModule: Module

    Default com.twitter.inject.TwitterModule for providing a com.twitter.util.validation.ScalaValidator.

    returns

    a com.twitter.inject.TwitterModule which provides a com.twitter.util.validation.ScalaValidator 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.

  160. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  161. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  162. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  163. def warmup(): Unit
    Attributes
    protected
    Definition Classes
    TwitterServer → App
  164. def warmupComplete(): Unit
    Definition Classes
    Warmup
  165. def warn(marker: Marker, message: => Any, cause: Throwable): Unit
    Attributes
    protected[this]
    Definition Classes
    Logging
  166. def warn(message: => Any, cause: Throwable): Unit
    Attributes
    protected[this]
    Definition Classes
    Logging
  167. def warn(marker: Marker, message: => Any): Unit
    Attributes
    protected[this]
    Definition Classes
    Logging
  168. def warn(message: => Any): Unit
    Attributes
    protected[this]
    Definition Classes
    Logging
  169. def warnResult[T](message: => String)(fn: => T): T
    Attributes
    protected[this]
    Definition Classes
    Logging

Inherited from HttpServer

Inherited from HttpServerTrait

Inherited from AbstractTwitterServer

Inherited from TwitterServer

Inherited from Warmup

Inherited from Ports

Inherited from TwitterServer

Inherited from Lifecycle

Inherited from AdminHttpServer

Inherited from Hooks

Inherited from DtabFlags

Inherited from Linters

Inherited from Stats

Inherited from AbstractApp

Inherited from App

Inherited from Logging

Inherited from Slf4jBridge

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