Merge remote-tracking branch 'origin/jetty-9.4.x'

This commit is contained in:
Greg Wilkins 2016-07-13 14:49:19 +10:00
commit 68f57cf3e8
3 changed files with 7 additions and 2 deletions

View File

@ -50,7 +50,7 @@ public class HTTP2ServerConnectionFactory extends AbstractHTTP2ServerConnectionF
super(httpConfiguration);
}
protected HTTP2ServerConnectionFactory(@Name("config") HttpConfiguration httpConfiguration,String... protocols)
public HTTP2ServerConnectionFactory(@Name("config") HttpConfiguration httpConfiguration,String... protocols)
{
super(httpConfiguration,protocols);
}

View File

@ -33,6 +33,12 @@ public class RawHTTP2ServerConnectionFactory extends AbstractHTTP2ServerConnecti
this.listener = listener;
}
public RawHTTP2ServerConnectionFactory(HttpConfiguration httpConfiguration, ServerSessionListener listener, String... protocols)
{
super(httpConfiguration,protocols);
this.listener = listener;
}
@Override
protected ServerSessionListener newSessionListener(Connector connector, EndPoint endPoint)
{

View File

@ -26,7 +26,6 @@ import java.util.EnumSet;
import javax.servlet.DispatcherType;
import org.eclipse.jetty.server.handler.HandlerWrapper;
import org.junit.Before;
import org.junit.Test;