Interface SafeCloseable

All Superinterfaces:
AutoCloseable
All Known Subinterfaces:
ClientRequestContextCaptor, HttpRequestDuplicator, HttpResponseDuplicator, StreamMessageDuplicator<T>
All Known Implementing Classes:
DefaultStreamMessageDuplicator
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 SafeCloseable
extends AutoCloseable
An AutoCloseable whose close() method does not throw an exception.
  • Method Summary

    Modifier and Type Method Description
    void close()