Class IgnoreCompleteExceptionFutureCallback<T>

  • All Implemented Interfaces:
    org.apache.hc.core5.concurrent.FutureCallback<T>
    Direct Known Subclasses:
    IgnoreCompleteExceptonFutureCallback

    public class IgnoreCompleteExceptionFutureCallback<T>
    extends java.lang.Object
    implements org.apache.hc.core5.concurrent.FutureCallback<T>
    Since:
    5.2
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private org.apache.hc.core5.concurrent.FutureCallback<T> callback  
      private static org.slf4j.Logger LOG  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void cancelled()  
      void completed​(T result)  
      void failed​(java.lang.Exception ex)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • callback

        private final org.apache.hc.core5.concurrent.FutureCallback<T> callback
      • LOG

        private static final org.slf4j.Logger LOG
    • Constructor Detail

      • IgnoreCompleteExceptionFutureCallback

        public IgnoreCompleteExceptionFutureCallback​(org.apache.hc.core5.concurrent.FutureCallback<T> callback)
    • Method Detail

      • completed

        public void completed​(T result)
        Specified by:
        completed in interface org.apache.hc.core5.concurrent.FutureCallback<T>
      • failed

        public void failed​(java.lang.Exception ex)
        Specified by:
        failed in interface org.apache.hc.core5.concurrent.FutureCallback<T>
      • cancelled

        public void cancelled()
        Specified by:
        cancelled in interface org.apache.hc.core5.concurrent.FutureCallback<T>