Class Promise.Adapter<U>

  • Type Parameters:
    U - the type of the result
    All Implemented Interfaces:
    Promise<U>
    Enclosing interface:
    Promise<C>

    @Deprecated(since="2021-05-27")
    public static class Promise.Adapter<U>
    extends java.lang.Object
    implements Promise<U>
    Deprecated.
    The Eclipse Jetty and Apache Felix Http Jetty packages are no longer supported.

    Empty implementation of Promise.

    • Constructor Detail

      • Adapter

        public Adapter()
        Deprecated.
    • Method Detail

      • failed

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

        Callback invoked when the operation fails.

        Specified by:
        failed in interface Promise<U>
        Parameters:
        x - the reason for the operation failure