play.core.server

NettyServer

object NettyServer extends ServerStart

Bootstraps Play application with a NettyServer backend.

Source
NettyServer.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. NettyServer
  2. ServerStart
  3. AnyRef
  4. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

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 def asInstanceOf[T0]: T0

    Definition Classes
    Any
  5. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. def createApplicationProvider(config: ServerConfig): ApplicationProvider

    Creates an ApplicationProvider for prod mode.

    Creates an ApplicationProvider for prod mode. Needed so we can mock out the ApplicationProvider for testing.

    Attributes
    protected
    Definition Classes
    ServerStart
  7. def createPidFile(process: ServerProcess, applicationPath: File): Option[File]

    Create a pid file for the current process, and register a hook to delete the file on process termination.

    Create a pid file for the current process, and register a hook to delete the file on process termination.

    Definition Classes
    ServerStart
  8. val defaultServerProvider: ServerProvider { def createServer(config: play.core.server.ServerConfig,appProvider: play.core.ApplicationProvider): play.core.server.NettyServer }

    The ServerProvider to use if not overridden by a system property.

    The ServerProvider to use if not overridden by a system property.

    Definition Classes
    NettyServerServerStart
  9. final def eq(arg0: AnyRef): Boolean

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

    Definition Classes
    AnyRef → Any
  11. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  12. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  14. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  15. def main(args: Array[String]): Unit

    Start a prod mode server from the command line.

    Start a prod mode server from the command line. Calls start.

    Definition Classes
    ServerStart
  16. def mainDevHttpMode(buildLink: BuildLink, buildDocHandler: BuildDocHandler, httpPort: Int): ServerWithStop

    Provides an HTTP server for the dev environment

    Provides an HTTP server for the dev environment

    This method uses simple Java types so that it can be used with reflection by code compiled with different versions of Scala.

    Definition Classes
    ServerStart
  17. def mainDevOnlyHttpsMode(buildLink: BuildLink, buildDocHandler: BuildDocHandler, httpsPort: Int): ServerWithStop

    Provides an HTTPS-only server for the dev environment.

    Provides an HTTPS-only server for the dev environment.

    This method uses simple Java types so that it can be used with reflection by code compiled with different versions of Scala.

    Definition Classes
    ServerStart
  18. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  19. final def notify(): Unit

    Definition Classes
    AnyRef
  20. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  21. def readServerConfigSettings(process: ServerProcess): ServerConfig

    Read the server config from the current process's command line args and system properties.

    Read the server config from the current process's command line args and system properties.

    Definition Classes
    ServerStart
  22. def readServerProviderSetting(process: ServerProcess): ServerProvider

    Read the ServerProvider setting from the given process's properties.

    Read the ServerProvider setting from the given process's properties. If not provided, defaults to the result of defaultServerProvider.

    Definition Classes
    ServerStart
  23. def start(process: ServerProcess): ServerWithStop

    Starts a Play server and application for the given process.

    Starts a Play server and application for the given process. The settings for the server are based on values passed on the command line and in various system properties. Crash out by exiting the given process if there are any problems.

    process

    The process (real or abstract) to use for starting the server.

    Definition Classes
    ServerStart
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. def toString(): String

    Definition Classes
    AnyRef → Any
  26. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from ServerStart

Inherited from AnyRef

Inherited from Any

Ungrouped