io.quarkus.resteasy.reactive.server.Closer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-rest Show documentation
Show all versions of quarkus-rest Show documentation
A Jakarta REST implementation utilizing build time processing and Vert.x. This extension is not compatible with the quarkus-resteasy extension, or any of the extensions that depend on it.
The newest version!
package io.quarkus.resteasy.reactive.server;
import java.io.Closeable;
/**
* A service that allows users to close any {@link Closeable} that
* when the request completes.
*
* Meant to be used a Resource Method parameter using {@link jakarta.ws.rs.core.Context}
*/
public interface Closer {
/**
* Register a new {@link Closeable} that is to be closed when the request completes.
*/
void add(Closeable c);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy