play.core.server

ServerStart

trait ServerStart extends AnyRef

Helper for starting a Play server and application. The main method is the entry point to a Play server running in production mode. The mainDev* methods are used to start a server running in development mode.

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

Abstract Value Members

  1. abstract def defaultServerProvider: ServerProvider

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

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

    Attributes
    protected

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

  8. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Definition Classes
    Any
  14. 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.

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

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

  17. final def ne(arg0: AnyRef): Boolean

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

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

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

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

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

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

  23. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  24. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped