Class WSStartupServlet

  • All Implemented Interfaces:
    jakarta.servlet.Servlet, jakarta.servlet.ServletConfig, jakarta.servlet.ServletContextAttributeListener, jakarta.servlet.ServletContextListener, Serializable, EventListener

    public final class WSStartupServlet
    extends jakarta.servlet.http.HttpServlet
    implements jakarta.servlet.ServletContextAttributeListener, jakarta.servlet.ServletContextListener
    WS startup servlet for Servlet based deployment
    Author:
    JAX-WS team
    See Also:
    Serialized Form
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void attributeAdded​(jakarta.servlet.ServletContextAttributeEvent scab)  
      void attributeRemoved​(jakarta.servlet.ServletContextAttributeEvent scab)  
      void attributeReplaced​(jakarta.servlet.ServletContextAttributeEvent scab)  
      void contextDestroyed​(jakarta.servlet.ServletContextEvent contextEvent)  
      void contextInitialized​(jakarta.servlet.ServletContextEvent contextEvent)  
      protected void doGet​(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp)  
      protected void doPost​(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse resp)  
      • Methods inherited from class jakarta.servlet.http.HttpServlet

        doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
      • Methods inherited from class jakarta.servlet.GenericServlet

        destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log
    • Constructor Detail

      • WSStartupServlet

        public WSStartupServlet()
    • Method Detail

      • doPost

        protected void doPost​(jakarta.servlet.http.HttpServletRequest req,
                              jakarta.servlet.http.HttpServletResponse resp)
                       throws jakarta.servlet.ServletException,
                              IOException
        Overrides:
        doPost in class jakarta.servlet.http.HttpServlet
        Throws:
        jakarta.servlet.ServletException
        IOException
      • doGet

        protected void doGet​(jakarta.servlet.http.HttpServletRequest req,
                             jakarta.servlet.http.HttpServletResponse resp)
                      throws jakarta.servlet.ServletException,
                             IOException
        Overrides:
        doGet in class jakarta.servlet.http.HttpServlet
        Throws:
        jakarta.servlet.ServletException
        IOException
      • contextInitialized

        public void contextInitialized​(jakarta.servlet.ServletContextEvent contextEvent)
        Specified by:
        contextInitialized in interface jakarta.servlet.ServletContextListener
      • contextDestroyed

        public void contextDestroyed​(jakarta.servlet.ServletContextEvent contextEvent)
        Specified by:
        contextDestroyed in interface jakarta.servlet.ServletContextListener
      • attributeAdded

        public void attributeAdded​(jakarta.servlet.ServletContextAttributeEvent scab)
        Specified by:
        attributeAdded in interface jakarta.servlet.ServletContextAttributeListener
      • attributeRemoved

        public void attributeRemoved​(jakarta.servlet.ServletContextAttributeEvent scab)
        Specified by:
        attributeRemoved in interface jakarta.servlet.ServletContextAttributeListener
      • attributeReplaced

        public void attributeReplaced​(jakarta.servlet.ServletContextAttributeEvent scab)
        Specified by:
        attributeReplaced in interface jakarta.servlet.ServletContextAttributeListener