dev.dsf.fhir.config.FhirHttpJettyConfig Maven / Gradle / Ivy
The newest version!
package dev.dsf.fhir.config;
import java.util.List;
import org.eclipse.jetty.websocket.jakarta.client.JakartaWebSocketShutdownContainer;
import org.eclipse.jetty.websocket.jakarta.server.config.JakartaWebSocketServletContainerInitializer;
import org.glassfish.jersey.servlet.init.JerseyServletContainerInitializer;
import org.springframework.web.SpringServletContainerInitializer;
import dev.dsf.common.config.AbstractHttpJettyConfig;
import jakarta.servlet.ServletContainerInitializer;
public class FhirHttpJettyConfig extends AbstractHttpJettyConfig
{
@Override
protected String mavenServerModuleName()
{
return "fhir-server";
}
@Override
protected List> servletContainerInitializers()
{
return List.of(JakartaWebSocketShutdownContainer.class, JakartaWebSocketServletContainerInitializer.class,
JerseyServletContainerInitializer.class, SpringServletContainerInitializer.class);
}
}