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

io.quarkus.resteasy.reactive.links.runtime.RestLinksProviderProducer 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.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