-
- All Implemented Interfaces:
public interface ServerPortServer 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(Server 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<Protocol>supportedProtocols()Return the server adapter's supported protocols. abstract Set<ServerFeature>supportedFeatures()Return the server adapter's supported features. abstract Set<String>supportedOptions()Return the server adapter's allowed configuration options. -
-
Method Detail
-
runtimePort
abstract Integer runtimePort()
Get the runtime port if started, throw an exception otherwise.
-
startup
abstract Unit startup(Server server)
Build a server of a certain engine from a server definition and runs it.
-
supportedProtocols
abstract Set<Protocol> supportedProtocols()
Return the server adapter's supported protocols.
-
supportedFeatures
abstract Set<ServerFeature> supportedFeatures()
Return the server adapter's supported features.
-
supportedOptions
abstract Set<String> supportedOptions()
Return the server adapter's allowed configuration options.
-
-
-
-