Class CXFNonSpringServlet

    • Constructor Detail

      • CXFNonSpringServlet

        public CXFNonSpringServlet()
      • CXFNonSpringServlet

        public CXFNonSpringServlet​(DestinationRegistry destinationRegistry,
                                   boolean loadBus)
      • CXFNonSpringServlet

        public CXFNonSpringServlet​(DestinationRegistry destinationRegistry,
                                   org.apache.cxf.Bus bus)
    • Method Detail

      • init

        public void init​(javax.servlet.ServletConfig sc)
                  throws javax.servlet.ServletException
        Specified by:
        init in interface javax.servlet.Servlet
        Overrides:
        init in class AbstractHTTPServlet
        Throws:
        javax.servlet.ServletException
      • finalizeServletInit

        protected void finalizeServletInit​(javax.servlet.ServletConfig servletConfig)
                                    throws javax.servlet.ServletException
        Overrides:
        finalizeServletInit in class AbstractHTTPServlet
        Throws:
        javax.servlet.ServletException
      • registerServletContextResolver

        protected void registerServletContextResolver​(javax.servlet.ServletConfig sc)
      • initClassLoader

        protected ClassLoader initClassLoader()
      • getDestinationRegistryFromBusOrDefault

        protected DestinationRegistry getDestinationRegistryFromBusOrDefault​(String transportId)
      • loadBus

        protected void loadBus​(javax.servlet.ServletConfig sc)
      • createServletController

        protected ServletController createServletController​(javax.servlet.ServletConfig servletConfig)
      • setBus

        public void setBus​(org.apache.cxf.Bus bus)
      • doFilter

        public void doFilter​(javax.servlet.ServletRequest request,
                             javax.servlet.ServletResponse response,
                             javax.servlet.FilterChain chain)
                      throws IOException,
                             javax.servlet.ServletException
        Throws:
        IOException
        javax.servlet.ServletException
      • invoke

        protected void invoke​(javax.servlet.http.HttpServletRequest request,
                              javax.servlet.http.HttpServletResponse response)
                       throws javax.servlet.ServletException
        Specified by:
        invoke in class AbstractHTTPServlet
        Throws:
        javax.servlet.ServletException
      • destroy

        public void destroy()
        Specified by:
        destroy in interface javax.servlet.Filter
        Specified by:
        destroy in interface javax.servlet.Servlet
        Overrides:
        destroy in class AbstractHTTPServlet
      • destroyBus

        public void destroyBus()