code: @Override
  	public ServerConnector createConnector(final Server server, final String name, final int port, int securePort, final String host,
  										   final Boolean checkForwaredHeaders) {
  
          HttpConfiguration httpConfig = getHttpConfiguration(securePort, checkForwaredHeaders, server);
  
  
          ConnectionFactory factory = null;
  
  		if (alpnCLassesAvailable()) {
  			log.info("HTTP/2 available, adding HTTP/2 to connector");
  			// SPDY connector
  //			ServerConnector spdy;
  			try {
  //				Class<?> loadClass = bundle.loadClass("org.eclipse.jetty.spdy.server.http.HTTPSPDYServerConnector");
  //				Constructor<?>[] constructors = loadClass.getConstructors();
  //
  //				for (Constructor<?> constructor : constructors) {
  //					Class<?>[] parameterTypes = constructor.getParameterTypes();
  //					if (parameterTypes.length == 1 && parameterTypes[0].equals(Server.class)) {
  //						spdy = (ServerConnector) constructor.newInstance(server);
  //
  //						spdy.setPort(port);
  //						spdy.setName(name);
  //						spdy.setHost(host);
  //						spdy.setIdleTimeout(500000);
  //
  //						return spdy;
  //					}
  //				}
  //
  				Class<?> loadClass = bundle.loadClass("org.eclipse.jetty.http2.server.HTTP2ServerConnectionFactory");
  				factory = (ConnectionFactory) ConstructorUtils.invokeConstructor(loadClass, httpConfig);
  
  			} catch (ClassNotFoundException | InstantiationException | IllegalAccessException | IllegalArgumentException | NoSuchMethodException | InvocationTargetException e) {
  				// TODO Auto-generated catch block
  				e.printStackTrace();
  			}
  		} else {
  			log.info("HTTP/2 not available, creating standard ServerConnector for Http");
  			factory = new HttpConnectionFactory(httpConfig);
  		}
  
  		// HTTP connector
  		ServerConnector http = new ServerConnector(server);
  		http.addConnectionFactory(factory);
  		http.setPort(port);
  		http.setHost(host);
  		http.setName(name);
  		http.setIdleTimeout(30000);
  
  		return http;
  	}
docs: {@inheritDoc}