Class TyrusServletContainerInitializer

  • All Implemented Interfaces:
    javax.servlet.ServletContainerInitializer

    public class TyrusServletContainerInitializer
    extends java.lang.Object
    implements javax.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 (pavel.bucek at oracle.com)
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void onStartup​(java.util.Set<java.lang.Class<?>> classes, javax.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,
                              javax.servlet.ServletContext ctx)
                       throws javax.servlet.ServletException
        Specified by:
        onStartup in interface javax.servlet.ServletContainerInitializer
        Throws:
        javax.servlet.ServletException