Class SentrySpringServletContainerInitializer

java.lang.Object
io.sentry.spring.jakarta.SentrySpringServletContainerInitializer
All Implemented Interfaces:
jakarta.servlet.ServletContainerInitializer

public class SentrySpringServletContainerInitializer extends Object implements jakarta.servlet.ServletContainerInitializer
Servlet container initializer used to add the SentrySpringFilter to the ServletContext.
  • Constructor Details

    • SentrySpringServletContainerInitializer

      public SentrySpringServletContainerInitializer()
  • Method Details

    • onStartup

      public void onStartup(@Nullable @Nullable Set<Class<?>> c, @NotNull @NotNull jakarta.servlet.ServletContext ctx) throws jakarta.servlet.ServletException
      Specified by:
      onStartup in interface jakarta.servlet.ServletContainerInitializer
      Throws:
      jakarta.servlet.ServletException