Class SentryServletContainerInitializer

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

public class SentryServletContainerInitializer extends Object implements javax.servlet.ServletContainerInitializer
Servlet container initializer used to add the SentryServletRequestListener to the ServletContext.
  • Constructor Details

    • SentryServletContainerInitializer

      public SentryServletContainerInitializer()
  • 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