Removing HttpCompliance from example

This commit is contained in:
Joakim Erdfelt 2016-06-10 13:19:51 -07:00
parent 76a5ec1b8e
commit 19e52ab9c4
1 changed files with 0 additions and 2 deletions

View File

@ -18,7 +18,6 @@
package org.eclipse.jetty.embedded;
import org.eclipse.jetty.http.HttpCompliance;
import org.eclipse.jetty.server.HttpConnectionFactory;
import org.eclipse.jetty.server.Server;
@ -27,7 +26,6 @@ public class OneHandler
public static void main( String[] args ) throws Exception
{
Server server = new Server(8080);
server.getConnectors()[0].getConnectionFactory(HttpConnectionFactory.class).setHttpCompliance(HttpCompliance.LEGACY);
server.setHandler(new HelloHandler());
server.start();