Class SentrySpringServletContainerInitializer

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

public class SentrySpringServletContainerInitializer extends Object implements javax.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 javax.servlet.ServletContext ctx) throws javax.servlet.ServletException
      Specified by:
      onStartup in interface javax.servlet.ServletContainerInitializer
      Throws:
      javax.servlet.ServletException