Package io.sentry.spring
Class SentrySpringServletContainerInitializer
- java.lang.Object
-
- io.sentry.spring.SentrySpringServletContainerInitializer
-
- All Implemented Interfaces:
javax.servlet.ServletContainerInitializer
public class SentrySpringServletContainerInitializer extends java.lang.Object implements javax.servlet.ServletContainerInitializer
Servlet container initializer used to add theSentrySpringFilter
to theServletContext
.
-
-
Constructor Summary
Constructors Constructor Description SentrySpringServletContainerInitializer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
onStartup(@Nullable java.util.Set<java.lang.Class<?>> c, @NotNull javax.servlet.ServletContext ctx)
-
-
-
Method Detail
-
onStartup
public void onStartup(@Nullable @Nullable java.util.Set<java.lang.Class<?>> c, @NotNull @NotNull javax.servlet.ServletContext ctx) throws javax.servlet.ServletException
- Specified by:
onStartup
in interfacejavax.servlet.ServletContainerInitializer
- Throws:
javax.servlet.ServletException
-
-