Interface WriteCallback

  • All Known Implementing Classes:
    BlockingWriteCallback.WriteBlocker, FutureWriteCallback

    @Deprecated(since="2021-05-27")
    public interface WriteCallback
    Deprecated.
    The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.
    Callback for Write events.
    • Method Detail

      • writeFailed

        void writeFailed​(java.lang.Throwable x)
        Deprecated.

        Callback invoked when the write fails.

        Parameters:
        x - the reason for the write failure
      • writeSuccess

        void writeSuccess()
        Deprecated.

        Callback invoked when the write completes.

        See Also:
        writeFailed(Throwable)