Expose public constructor for #689

This commit is contained in:
Greg Wilkins 2016-07-13 11:59:46 +10:00
parent c60cca7b8c
commit c27d71a5a8
2 changed files with 7 additions and 1 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)
{