io.quarkus.resteasy.reactive.links.RestLinksProvider Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of quarkus-rest-links Show documentation
Show all versions of quarkus-rest-links Show documentation
Web Links support for Quarkus REST. Inject web links into response HTTP headers by annotating your endpoint resources.
The newest version!
package io.quarkus.resteasy.reactive.links;
import java.util.Collection;
import jakarta.ws.rs.core.Link;
/**
* An injectable bean that contains methods to get the web links at class and instance levels.
*/
public interface RestLinksProvider {
/**
* @param elementType The resource type.
* @return the web links associated with the element type.
*/
Collection getTypeLinks(Class> elementType);
/**
* @param instance the resource instance.
* @param the resource generic type.
* @return the web links associated with the instance.
*/
Collection getInstanceLinks(T instance);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy