All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.quarkus.resteasy.reactive.links.RestLinksProvider Maven / Gradle / Ivy

Go to download

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