title: Upgrading Jetty 8 to Jetty 9
body: <p>I am upgrading from jetty 8 to jetty 9 and have come across some issues around compilation failures within some APIs.   </p>
  
  <p>The SslSelectChannelConnector has been removed and from what I can see httpConfiguration with secureRequestCustomizer replaces this.</p>
  
  <p>But there are many methods that I cant find on both.  For example</p>
  
  <p>setRequestBufferSize</p>
  
  <p>setResponseBufferSize</p>
  
  <p>setAcceptors</p>
  
  <p>setMaxIdleTime</p>
  
  <p>SessionHandler no longer has a getSessionManager() method.</p>
  
  <p>Also the queueThreadPool no longer has a setMaxQueued(int ), and JettyServer no longer has these two methods:
  setThreadPool(QueueThreadPool)
  setGracefulShutdown(int)</p>
  
  <p>Edit: SslSelectChannelConnector Deprecated.  use SelectChannelConnector with SslContextFactory.</p>
  
  <pre class="lang-java prettyprint-override"><code>jettyServer.setThreadPool(threadPool);  // --&gt; threadPool is set in the constructor new Server(QueueThreadPool)
  jettyServer.setGracefulShutdown(5000);  // --&gt; jettyServer.setStopTimeout(5000);
  jettyServer.setConnectors(new Connector[] { connector });  // --&gt;  ServerConnector which takes https_config
  jettyServer.setSendServerVersion(false); // --&gt;  https_config.setSendServerVersion(false);
  </code></pre>
  
  <p>Where or which API is used in place of the above?</p>
  
  <p>Also is there any custom stuff that stopped working at runtime, that isn't obvious to find/see.</p>