org.apache.hc.core5.function

## Interface Decorator<T>

- Type Parameters:
    `T` - The type of object to decorate.
  All Known Implementing Classes:
    LoggingIOSessionDecorator
  Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

      @FunctionalInterface
      public interface Decorator<T>

  Abstract decorator.
  Since:
    5.0

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `T` | `decorate(T object)`

- - ### Method Detail

    - #### decorate

          T decorate(T object)

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