Class TyrusServletContainerInitializer

  • All Implemented Interfaces:
    jakarta.servlet.ServletContainerInitializer

    public class TyrusServletContainerInitializer
    extends java.lang.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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onStartup​(java.util.Set<java.lang.Class<?>> classes, jakarta.servlet.ServletContext ctx)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TyrusServletContainerInitializer

        public TyrusServletContainerInitializer()
    • Method Detail

      • onStartup

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