Renamed onConnect() to onAccept() to reflect its server-side role.
This commit is contained in:
parent
c07ea68b51
commit
17c8f71724
|
@ -22,12 +22,12 @@ import org.eclipse.jetty.http2.api.Session;
|
|||
|
||||
public interface ServerSessionListener extends Session.Listener
|
||||
{
|
||||
public void onConnect(Session session);
|
||||
public void onAccept(Session session);
|
||||
|
||||
public static class Adapter extends Session.Listener.Adapter implements ServerSessionListener
|
||||
{
|
||||
@Override
|
||||
public void onConnect(Session session)
|
||||
public void onAccept(Session session)
|
||||
{
|
||||
}
|
||||
}
|
||||
|
|
|
@ -122,7 +122,7 @@ public abstract class AbstractHTTP2ServerConnectionFactory extends AbstractConne
|
|||
{
|
||||
try
|
||||
{
|
||||
listener.onConnect(session);
|
||||
listener.onAccept(session);
|
||||
}
|
||||
catch (Throwable x)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue