A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://www.playframework.com/documentation/2.5.x/api/scala/play/core/server/Server$.html below:

Server - play.core.server.Server

  • final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  • final def ##(): Int
    Definition Classes
    AnyRef → Any
  • final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  • final def asInstanceOf[T0]: T0
  • def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  • final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  • def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  • def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  • final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  • def hashCode(): Int
    Definition Classes
    AnyRef → Any
  • final def isInstanceOf[T0]: Boolean
  • final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  • final def notify(): Unit
    Definition Classes
    AnyRef
  • final def notifyAll(): Unit
    Definition Classes
    AnyRef
  • final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  • def toString(): String
    Definition Classes
    AnyRef → Any
  • final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  • final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  • final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  • def withApplication[T](application: api.Application, config: ServerConfig = ...)(block: (Port) ⇒ T)(implicit provider: ServerProvider): T

    Run a block of code with a server for the given application.

    Run a block of code with a server for the given application.

    The passed in block takes the port that the application is running on. By default, this will be a random ephemeral port. This can be changed by passing in an explicit port with the config parameter.

    application

    The application for the server to server.

    config

    The configuration for the server. Defaults to test config with the http port bound to a random ephemeral port.

    block

    The block of code to run.

    provider

    The server provider.

    returns

    The result of the block of code.

  • def withRouter[T](config: ServerConfig = ...)(routes: PartialFunction[RequestHeader, Handler])(block: (Port) ⇒ T)(implicit provider: ServerProvider): T

    Run a block of code with a server for the given routes.

    Run a block of code with a server for the given routes.

    The passed in block takes the port that the application is running on. By default, this will be a random ephemeral port. This can be changed by passing in an explicit port with the config parameter.

    config

    The configuration for the server. Defaults to test config with the http port bound to a random ephemeral port.

    routes

    The routes for the server to server.

    block

    The block of code to run.

    provider

    The server provider.

    returns

    The result of the block of code.


  • RetroSearch is an open source project built by @garambo | Open a GitHub Issue

    Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

    HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4