Package winstone
Class Http2ConnectorFactory
java.lang.Object
winstone.AbstractSecuredConnectorFactory
winstone.Http2ConnectorFactory
- All Implemented Interfaces:
ConnectorFactory
public class Http2ConnectorFactory
extends AbstractSecuredConnectorFactory
implements ConnectorFactory
This class add the HTTP/2 Listener This is the class that gets launched
by the command line, and owns the server socket, etc.
- Since:
- 4.1
-
Field Summary
Fields inherited from class winstone.AbstractSecuredConnectorFactory
keystore, keystorePassword, SSL_RESOURCES
-
Constructor Summary
-
Method Summary
Methods inherited from class winstone.AbstractSecuredConnectorFactory
configureSsl, getSSLContext
-
Constructor Details
-
Http2ConnectorFactory
public Http2ConnectorFactory()
-
-
Method Details
-
start
public org.eclipse.jetty.server.Connector start(Map<String, String> args, org.eclipse.jetty.server.Server server) throws IOExceptionDescription copied from interface:ConnectorFactory
After the listener is loaded and initialized, this starts the thread- Specified by:
start
in interfaceConnectorFactory
- Returns:
- the Connector instance or
null
if not started - Throws:
IOException
-