Class SendHandlerCallback

  • All Implemented Interfaces:
    Callback, Invocable

    public class SendHandlerCallback
    extends java.lang.Object
    implements Callback
    Wrapper of user provided SendHandler to Jetty internal Callback
    • Constructor Detail

      • SendHandlerCallback

        public SendHandlerCallback​(javax.websocket.SendHandler sendHandler)
    • Method Detail

      • failed

        public void failed​(java.lang.Throwable x)
        Description copied from interface: Callback

        Callback invoked when the operation fails.

        Specified by:
        failed in interface Callback
        Parameters:
        x - the reason for the operation failure