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
Constructors Constructor Description Http2ConnectorFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.eclipse.jetty.server.Connector
start(Map<String,String> args, org.eclipse.jetty.server.Server server)
After the listener is loaded and initialized, this starts the thread-
Methods inherited from class winstone.AbstractSecuredConnectorFactory
configureSsl, getSSLContext
-
-
-
-
Method Detail
-
start
public org.eclipse.jetty.server.Connector start(Map<String,String> args, org.eclipse.jetty.server.Server server) throws IOException
Description 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
-
-