public class VelocityConsoleServlet
extends org.apache.velocity.tools.view.VelocityLayoutServlet
DEFAULT_DEFAULT_LAYOUT, DEFAULT_ERROR_TEMPLATE, DEFAULT_LAYOUT_DIR, defaultLayout, errorTemplate, KEY_ERROR_CAUSE, KEY_ERROR_INVOCATION_EXCEPTION, KEY_ERROR_STACKTRACE, KEY_LAYOUT, KEY_SCREEN_CONTENT, layoutDir, PROPERTY_DEFAULT_LAYOUT, PROPERTY_ERROR_TEMPLATE, PROPERTY_LAYOUT_DIR| Constructor and Description |
|---|
VelocityConsoleServlet() |
| Modifier and Type | Method and Description |
|---|---|
void |
destroy() |
protected void |
doRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
fatal(javax.servlet.http.HttpServletRequest request,
String message) |
protected void |
fillContext(org.apache.velocity.context.Context context,
javax.servlet.http.HttpServletRequest request) |
protected Action |
getAction(Page page,
javax.servlet.http.HttpServletRequest request) |
JmxConnection |
getConnection(javax.servlet.http.HttpServletRequest request) |
MenuFactory |
getMenuFactory() |
protected org.apache.velocity.Template |
getTemplate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
void |
init(javax.servlet.ServletConfig config) |
Map<String,Object> |
newJmxMap(JmxConnection connection) |
void |
registerAction(Action action) |
protected void |
registerActions() |
error, findLayout, mergeTemplatecreateContext, doGet, doPost, findInitParameter, getLog, getTemplate, getVelocityProperty, getVelocityView, handleRequest, manageResourceNotFound, requestCleanup, setContentType, setVelocityViewdoDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, servicepublic void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
init in interface javax.servlet.Servletinit in class org.apache.velocity.tools.view.VelocityLayoutServletjavax.servlet.ServletExceptionpublic Map<String,Object> newJmxMap(JmxConnection connection)
protected void doRequest(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
doRequest in class org.apache.velocity.tools.view.VelocityViewServletIOExceptionprotected void registerActions()
public void registerAction(Action action)
public JmxConnection getConnection(javax.servlet.http.HttpServletRequest request)
public void fatal(javax.servlet.http.HttpServletRequest request,
String message)
protected void fillContext(org.apache.velocity.context.Context context,
javax.servlet.http.HttpServletRequest request)
fillContext in class org.apache.velocity.tools.view.VelocityLayoutServletpublic MenuFactory getMenuFactory()
public void destroy()
destroy in interface javax.servlet.Servletdestroy in class javax.servlet.GenericServletprotected org.apache.velocity.Template getTemplate(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
getTemplate in class org.apache.velocity.tools.view.VelocityViewServletCopyright © 2014. All Rights Reserved.