@ Override public PushNotificationHandler buildHandler ( final SSLSession sslSession ) { return new PushNotificationHandler ( ) { @ Override public void handlePushNotification ( final Http2Headers headers , final ByteBuf payload ) { // Accept everything unconditionally! } } ; }
Constructs a new push notification handler that unconditionally accepts all push notifications .