io.github.factoryfx.jetty.JerseyServletFactory Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jettyFactory Show documentation
Show all versions of jettyFactory Show documentation
factoryfx dependency injection framework
package io.github.factoryfx.jetty;
import java.util.List;
import java.util.Map;
import io.github.factoryfx.factory.attribute.ValueMapAttribute;
import io.github.factoryfx.factory.attribute.types.ObjectMapAttribute;
import org.glassfish.jersey.CommonProperties;
import org.glassfish.jersey.jackson.internal.jackson.jaxrs.json.JacksonJaxbJsonProvider;
import org.glassfish.jersey.logging.LoggingFeature;
import org.glassfish.jersey.server.ResourceConfig;
import org.glassfish.jersey.server.ServerProperties;
import org.glassfish.jersey.servlet.ServletContainer;
import com.fasterxml.jackson.databind.ObjectMapper;
import io.github.factoryfx.factory.FactoryBase;
import io.github.factoryfx.factory.SimpleFactoryBase;
import io.github.factoryfx.factory.attribute.dependency.FactoryPolymorphicAttribute;
import io.github.factoryfx.factory.attribute.dependency.FactoryPolymorphicListAttribute;
import io.github.factoryfx.factory.attribute.types.BooleanMapAttribute;
import jakarta.servlet.Servlet;
import jakarta.ws.rs.ext.ExceptionMapper;
public class JerseyServletFactory> extends SimpleFactoryBase {
public final FactoryPolymorphicAttribute objectMapper = new FactoryPolymorphicAttribute().en("objectMapper");
public final FactoryPolymorphicAttribute restLogging = new FactoryPolymorphicAttribute().userReadOnly().labelText("REST logging");
public final FactoryPolymorphicListAttribute