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

io.quarkiverse.jakarta.rest.JakartaRestProcessor Maven / Gradle / Ivy

There is a newer version: 3.3.0
Show newest version
package io.quarkiverse.jakarta.rest;

import org.jboss.resteasy.plugins.providers.FormUrlEncodedProvider;
import org.jboss.resteasy.plugins.providers.JaxrsFormProvider;

import io.quarkus.deployment.annotations.BuildProducer;
import io.quarkus.deployment.annotations.BuildStep;
import io.quarkus.resteasy.common.runtime.providers.ServerFormUrlEncodedProvider;
import io.quarkus.resteasy.common.spi.ResteasyJaxrsProviderBuildItem;

class JakartaRestProcessor {
    @BuildStep
    void providers(BuildProducer providers) {
        providers.produce(new ResteasyJaxrsProviderBuildItem(ServerFormUrlEncodedProvider.class.getName()));
        providers.produce(new ResteasyJaxrsProviderBuildItem(FormUrlEncodedProvider.class.getName()));
        providers.produce(new ResteasyJaxrsProviderBuildItem(JaxrsFormProvider.class.getName()));
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy