org.apache.hc.core5.pool

## Class DefaultDisposalCallback<T extends SocketModalCloseable>

- java.lang.Object
- - org.apache.hc.core5.pool.DefaultDisposalCallback<T>

- Type Parameters:
    `T` - socket based connection type.
  All Implemented Interfaces:
    DisposalCallback<T>

      @Internal
      public final class DefaultDisposalCallback<T extends SocketModalCloseable>
      extends Object
      implements DisposalCallback<T>

  Default implementation of `DisposalCallback`.
  Since:
    5.0

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `DefaultDisposalCallback()`

  - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `void` | `execute(SocketModalCloseable closeable, CloseMode closeMode)`

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### DefaultDisposalCallback

          public DefaultDisposalCallback()

  - ### Method Detail

    - #### execute

          public void execute(SocketModalCloseable closeable,
                     CloseMode closeMode)

      Specified by:
        `execute` in interface `DisposalCallback<T extends SocketModalCloseable>`

Copyright © 2005–2020 The Apache Software Foundation. All rights reserved.