Class ApplicationServlet

    • Field Detail

      • isDirty

        protected volatile boolean isDirty
      • bundle

        protected org.osgi.framework.Bundle bundle
      • container

        protected com.sun.jersey.spi.container.servlet.ServletContainer container
      • resourcesPrefix

        protected String resourcesPrefix
    • Constructor Detail

      • ApplicationServlet

        public ApplicationServlet()
    • Method Detail

      • init

        public void init​(javax.servlet.ServletConfig config)
                  throws javax.servlet.ServletException
        Specified by:
        init in interface javax.servlet.Servlet
        Overrides:
        init in class javax.servlet.GenericServlet
        Throws:
        javax.servlet.ServletException
      • destroy

        public void destroy()
        Specified by:
        destroy in interface javax.servlet.Servlet
        Overrides:
        destroy in class javax.servlet.GenericServlet
      • getBundle

        public org.osgi.framework.Bundle getBundle()
      • getContainer

        public com.sun.jersey.spi.container.servlet.ServletContainer getContainer()
      • service

        public void service​(javax.servlet.http.HttpServletRequest request,
                            javax.servlet.http.HttpServletResponse response)
                     throws javax.servlet.ServletException,
                            IOException
        Overrides:
        service in class javax.servlet.http.HttpServlet
        Throws:
        javax.servlet.ServletException
        IOException
      • containerService

        protected void containerService​(javax.servlet.http.HttpServletRequest request,
                                        javax.servlet.http.HttpServletResponse response)
                                 throws javax.servlet.ServletException,
                                        IOException
        Throws:
        javax.servlet.ServletException
        IOException
      • doGet

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

        protected RenderingEngine initRendering​(javax.servlet.ServletConfig config)
                                         throws javax.servlet.ServletException
        Throws:
        javax.servlet.ServletException
      • destroyRendering

        protected void destroyRendering()
      • initContainer

        protected void initContainer​(javax.servlet.ServletConfig config)
                              throws javax.servlet.ServletException
        Throws:
        javax.servlet.ServletException
      • destroyContainer

        protected void destroyContainer()
      • reloadContainer

        protected void reloadContainer()
                                throws javax.servlet.ServletException
        Throws:
        javax.servlet.ServletException
      • createServletContainer

        protected com.sun.jersey.spi.container.servlet.ServletContainer createServletContainer​(ApplicationHost app)
      • getResourceURL

        public URL getResourceURL​(String key)
        Description copied from interface: ResourceLocator
        Gets an URL resource given a key
        Specified by:
        getResourceURL in interface ResourceLocator
        Parameters:
        key - the resource key
        Returns:
        the resource URL or null if no such result was found