Package

play.core

server

Permalink

package server

Visibility
  1. Public
  2. All

Type Members

  1. class NettyServer extends Server

    Permalink

    creates a Server implementation based Netty

  2. trait NettyServerComponents extends AnyRef

    Permalink

    Cake for building a simple Netty server.

  3. class NettyServerProvider extends ServerProvider

    Permalink

    The Netty server provider

  4. sealed trait NettyTransport extends AnyRef

    Permalink
  5. class RealServerProcess extends ServerProcess

    Permalink

    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.

  6. trait Server extends ServerWithStop

    Permalink

    Provides generic server behaviour for Play applications.

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

    Permalink

    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.

  8. class ServerListenException extends Exception

    Permalink

    This execption is thrown when the server is unable to listen on a port

  9. trait ServerProcess extends AnyRef

    Permalink

    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.

  10. trait ServerProvider extends AnyRef

    Permalink

    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.

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

    Permalink

    Indicates an issue with starting a server, e.g.

    Indicates an issue with starting a server, e.g. a problem reading its configuration.

  12. trait WebSocketable extends AnyRef

    Permalink

Value Members

  1. object DevServerStart

    Permalink

    Used to start servers in 'dev' mode, a mode where the application is reloaded whenever its source changes.

  2. object Jdk extends NettyTransport with Product with Serializable

    Permalink
  3. object Native extends NettyTransport with Product with Serializable

    Permalink
  4. object NettyServer

    Permalink

    Bootstraps Play application with a NettyServer backend.

  5. object ProdServerStart

    Permalink

    Used to start servers in 'prod' mode, the mode that is used in production.

    Used to start servers in 'prod' mode, the mode that is used in production. The application is loaded and started immediately.

  6. object Server

    Permalink

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

  7. object ServerConfig extends Serializable

    Permalink
  8. object ServerProvider

    Permalink
  9. package akkahttp

    Permalink
  10. package common

    Permalink
  11. package netty

    Permalink
  12. package ssl

    Permalink

Ungrouped