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
Members list
Value members
Concrete methods
Attributes
- Definition Classes
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
Concrete fields
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
In this article