play.core

server

package server

Visibility
  1. Public
  2. All

Type Members

  1. class NettyServer extends Server

    creates a Server implementation based Netty

  2. trait NettyServerComponents extends AnyRef

    Cake for building a simple Netty server.

  3. class NettyServerProvider extends ServerProvider

    The Netty server provider

  4. class RealServerProcess extends ServerProcess

    A ServerProcess that wraps a real JVM process.

    A ServerProcess that wraps a real JVM process. Calls have a real effect on the JVM, e.g. exit calls System.exit.

  5. trait Server extends ServerWithStop

    provides generic server behaviour for Play applications

  6. case class ServerConfig(rootDir: File, port: Option[Int], sslPort: Option[Int], address: String, mode: api.Mode.Mode, properties: Properties, configuration: api.Configuration) extends Product with Serializable

    Common configuration for servers such as NettyServer.

    Common configuration for servers such as NettyServer.

    rootDir

    The root directory of the server. Used to find default locations of files, log directories, etc.

    port

    The HTTP port to use.

    sslPort

    The HTTPS port to use.

    address

    The socket address to bind to.

    mode

    The run mode: dev, test or prod.

  7. trait ServerProcess extends AnyRef

    Abstracts a JVM process so it can be mocked for testing or to isolate pseudo-processes within a VM.

    Abstracts a JVM process so it can be mocked for testing or to isolate pseudo-processes within a VM. Code using this class should use the methods in this class instead of methods like System.getProperties(), System.exit(), etc.

  8. trait ServerProvider extends AnyRef

    An object that knows how to obtain a server.

    An object that knows how to obtain a server. Instantiating a ServerProvider object should be fast and side-effect free. Any actual work that a ServerProvider needs to do should be delayed until the createServer method is called.

  9. trait ServerStart extends AnyRef

    Helper for starting a Play server and application.

    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.

  10. final case class ServerStartException(message: String, cause: Option[Throwable] = None) extends Exception with Product with Serializable

  11. trait WebSocketable extends AnyRef

Value Members

  1. object NettyServer extends ServerStart

    Bootstraps Play application with a NettyServer backend.

  2. object Server

    Utilities for creating a server that runs around a block of code.

  3. object ServerConfig extends Serializable

  4. object ServerProvider

  5. package akkahttp

  6. package common

  7. package netty

  8. package ssl

  9. package websocket

Ungrouped