Class TyrusServletContainerInitializer

java.lang.Object
org.glassfish.tyrus.servlet.TyrusServletContainerInitializer
All Implemented Interfaces:
jakarta.servlet.ServletContainerInitializer

public class TyrusServletContainerInitializer extends Object implements jakarta.servlet.ServletContainerInitializer
Registers a filter for upgrade handshake.

All requests will be handled by registered filter if not specified otherwise.

Author:
Jitendra Kotamraju, Pavel Bucek
  • Constructor Details

    • TyrusServletContainerInitializer

      public TyrusServletContainerInitializer()
  • Method Details

    • onStartup

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