Class WebEngine

    • Method Detail

      • getActiveContext

        public static WebContext getActiveContext()
      • loadJspTaglib

        public void loadJspTaglib​(javax.servlet.GenericServlet servlet)
        JSP taglib support
      • initJspRequestSupport

        public void initJspRequestSupport​(javax.servlet.GenericServlet servlet,
                                          javax.servlet.http.HttpServletRequest request,
                                          javax.servlet.http.HttpServletResponse response)
      • getWebLoader

        public WebLoader getWebLoader()
      • setSkinPathPrefix

        public void setSkinPathPrefix​(String skinPathPrefix)
      • getSkinPathPrefix

        public String getSkinPathPrefix()
      • registerRenderingExtension

        public void registerRenderingExtension​(String id,
                                               Object obj)
      • unregisterRenderingExtension

        public void unregisterRenderingExtension​(String id)
      • getScripting

        public Scripting getScripting()
      • getRootDirectory

        public File getRootDirectory()
      • getDeploymentDirectory

        public File getDeploymentDirectory()
      • getModulesDirectory

        public File getModulesDirectory()
      • addResourceBinding

        @Deprecated
        public void addResourceBinding​(ResourceBinding binding)
        Deprecated.
        resources are deprecated - you should use a jax-rs application to declare more resources.
        Manage jax-rs root resource bindings
      • removeResourceBinding

        @Deprecated
        public void removeResourceBinding​(ResourceBinding binding)
        Deprecated.
        resources are deprecated - you should use a jax-rs application to declare more resources.
      • getBindings

        @Deprecated
        public ResourceBinding[] getBindings()
        Deprecated.
        resources are deprecated - you should use a jax-rs application to declare more resources.
      • setDirty

        public void setDirty​(boolean dirty)
      • tryReload

        public boolean tryReload()
      • isDirty

        public boolean isDirty()
      • flushCache

        public void flushCache()
      • reload

        public void reload()
        Reloads configuration.
      • reloadModules

        public void reloadModules()
      • start

        public void start()
      • stop

        public void stop()
      • 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