Fixed ClassCastExceptions.
This commit is contained in:
parent
268e8bdbd7
commit
a07a7525ff
|
@ -128,7 +128,7 @@ public class SPDYServerConnector extends SelectChannelConnector
|
||||||
public void unsupported()
|
public void unsupported()
|
||||||
{
|
{
|
||||||
AsyncConnectionFactory connectionFactory = getDefaultAsyncConnectionFactory();
|
AsyncConnectionFactory connectionFactory = getDefaultAsyncConnectionFactory();
|
||||||
AsyncConnection connection = connectionFactory.newAsyncConnection(channel, sslEndPoint, this);
|
AsyncConnection connection = connectionFactory.newAsyncConnection(channel, sslEndPoint, SPDYServerConnector.this);
|
||||||
sslEndPoint.setConnection(connection);
|
sslEndPoint.setConnection(connection);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -142,7 +142,7 @@ public class SPDYServerConnector extends SelectChannelConnector
|
||||||
public void protocolSelected(String protocol)
|
public void protocolSelected(String protocol)
|
||||||
{
|
{
|
||||||
AsyncConnectionFactory connectionFactory = getAsyncConnectionFactory(protocol);
|
AsyncConnectionFactory connectionFactory = getAsyncConnectionFactory(protocol);
|
||||||
AsyncConnection connection = connectionFactory.newAsyncConnection(channel, sslEndPoint, this);
|
AsyncConnection connection = connectionFactory.newAsyncConnection(channel, sslEndPoint, SPDYServerConnector.this);
|
||||||
sslEndPoint.setConnection(connection);
|
sslEndPoint.setConnection(connection);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue