Try to get the handler for a request and return it as a Right
.
Try to get the handler for a request and return it as a Right
. If we
can't get the handler for some reason then return a result immediately
as a Left
. Reasons to return a Left
value:
- If there's a "web command" installed that intercepts the request.
- If we fail to get the Application
from the applicationProvider
,
i.e. if there's an error loading the application.
- If an exception is thrown.
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).
The HTTP port the server is bound to, if the HTTP connector is enabled.
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).
The HTTPS port the server is bound to, if the HTTPS connector is enabled.
Create a new PlayRequestHandler.
Create a new PlayRequestHandler.
creates a Server implementation based Netty