io.quarkus.resteasy.reactive.links.runtime.RestLinksProviderProducer 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.runtime;
import jakarta.enterprise.context.Dependent;
import jakarta.enterprise.context.RequestScoped;
import jakarta.enterprise.inject.Produces;
import jakarta.ws.rs.core.UriInfo;
import io.quarkus.arc.DefaultBean;
import io.quarkus.resteasy.reactive.links.RestLinksProvider;
@Dependent
public final class RestLinksProviderProducer {
@Produces
@RequestScoped
@DefaultBean
public RestLinksProvider restLinksProvider(UriInfo uriInfo) {
return new RestLinksProviderImpl(uriInfo);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy