-
- All Implemented Interfaces:
public interface HttpServerPortServer instance of one kind.
-
-
Method Summary
Modifier and Type Method Description abstract IntegerruntimePort()Get the runtime port if started, throw an exception otherwise. abstract Booleanstarted()Check whether the server has been started or not. abstract UnitstartUp(HttpServer server)Build a server of a certain engine from a server definition and runs it. abstract UnitshutDown()Stop the instance of the engine. abstract Set<HttpProtocol>supportedProtocols()Return the server adapter's supported protocols. abstract Set<HttpServerFeature>supportedFeatures()Return the server adapter's supported features. abstract Map<String, ?>options()Return the adapter's allowed configuration options with its values. -
-
Method Detail
-
runtimePort
abstract Integer runtimePort()
Get the runtime port if started, throw an exception otherwise.
-
startUp
abstract Unit startUp(HttpServer server)
Build a server of a certain engine from a server definition and runs it.
- Parameters:
server- The server instance to be run by this adapter.
-
supportedProtocols
abstract Set<HttpProtocol> supportedProtocols()
Return the server adapter's supported protocols.
-
supportedFeatures
abstract Set<HttpServerFeature> supportedFeatures()
Return the server adapter's supported features.
-
-
-
-