PekkoHttpServer

play.core.server.PekkoHttpServer
See thePekkoHttpServer companion object
class PekkoHttpServer(context: Context) extends Server

Starts a Play server using Pekko HTTP.

Attributes

Companion
object
Graph
Supertypes
trait Server
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

Attributes

Definition Classes
override def mode: Mode

Attributes

Definition Classes
def remoteAddressOfRequest(req: HttpRequest): InetSocketAddress
override def stop(): Unit

Attributes

Definition Classes

Inherited methods

Returns the HTTP port of the server.

Returns the HTTP port of the server.

This is useful when the port number has been automatically selected (by setting a port number of 0).

Attributes

Returns

The HTTP port the server is bound to, if the HTTP connector is enabled.

Inherited from:
Server

Returns the HTTPS port of the server.

Returns the HTTPS port of the server.

This is useful when the port number has been automatically selected (by setting a port number of 0).

Attributes

Returns

The HTTPS port the server is bound to, if the HTTPS connector is enabled.

Inherited from:
Server
def reload(): Unit

Attributes

Inherited from:
Server

Concrete fields

lazy override val mainAddress: InetSocketAddress

Get the address of the server.

Get the address of the server.

Attributes

Returns

The address of the server.

Endpoints information for this server.

Endpoints information for this server.

Attributes