consciouscode.seedling.webConsole
Class ConsoleServlet
java.lang.Object
consciouscode.seedling.tree.GenericNode
consciouscode.seedling.webConsole.ConsoleServlet
- All Implemented Interfaces:
- LocatableNode, javax.servlet.Servlet
public class ConsoleServlet
- extends GenericNode
- implements javax.servlet.Servlet
A servlet for browsing a Seedling container.
This servlet will not function properly if installed as the "default
servlet" at path "/"
, since it will not be able to determine where
the servlet-part of the URL ends.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ConsoleServlet
public ConsoleServlet()
getNodeIndex
public NodeIndex getNodeIndex()
setNodeIndex
public void setNodeIndex(NodeIndex index)
getStaticResourcePath
public String getStaticResourcePath()
setStaticResourcePath
public void setStaticResourcePath(String path)
- Sets the URI path to the console's static resources, relative to the
servlet's context. If the path starts with
'/'
then the path
is treated as absolute and the context is ignored.
- Parameters:
path
- may be null or empty.
isPropertyEditingEnabled
public boolean isPropertyEditingEnabled()
setPropertyEditingEnabled
public void setPropertyEditingEnabled(boolean enabled)
getConsoleDebuggingEnabled
public boolean getConsoleDebuggingEnabled()
setConsoleDebuggingEnabled
public void setConsoleDebuggingEnabled(boolean enabled)
destroy
public void destroy()
- Specified by:
destroy
in interface javax.servlet.Servlet
getServletConfig
public javax.servlet.ServletConfig getServletConfig()
- Specified by:
getServletConfig
in interface javax.servlet.Servlet
getServletInfo
public String getServletInfo()
- Specified by:
getServletInfo
in interface javax.servlet.Servlet
init
public void init(javax.servlet.ServletConfig arg0)
throws javax.servlet.ServletException
- Specified by:
init
in interface javax.servlet.Servlet
- Throws:
javax.servlet.ServletException
service
public void service(javax.servlet.ServletRequest request,
javax.servlet.ServletResponse response)
throws javax.servlet.ServletException,
IOException
- Specified by:
service
in interface javax.servlet.Servlet
- Throws:
javax.servlet.ServletException
IOException
Copyright © 2001–2012
Todd V. Jonker. All Rights Reserved.