public abstract class AdminDisplayServlet
extends javax.servlet.http.HttpServlet
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
ADMIN4J_SESSION_VARIABLE_PREFIX |
protected org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
AdminDisplayServlet() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
displayFreeMarkerPage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String templateName,
java.util.Map<java.lang.String,java.lang.Object> variableMap)
Will generate Freemarker template results and write it to the output stream.
|
protected void |
displayFreeMarkerResponse(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String templateName,
java.util.Map<java.lang.String,java.lang.Object> variableMap) |
static java.util.Set<javax.servlet.http.HttpServlet> |
getRegisteredServletSet(java.lang.Class klass) |
abstract java.lang.String |
getServletLabel() |
boolean |
hasDisplay() |
void |
init() |
void |
init(javax.servlet.ServletConfig config) |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, servicepublic static final java.lang.String ADMIN4J_SESSION_VARIABLE_PREFIX
protected org.slf4j.Logger logger
protected void displayFreeMarkerPage(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String templateName,
java.util.Map<java.lang.String,java.lang.Object> variableMap)
throws java.io.IOException
response - templateName - variableMap - java.io.IOExceptionprotected void displayFreeMarkerResponse(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
java.lang.String templateName,
java.util.Map<java.lang.String,java.lang.Object> variableMap)
throws java.io.IOException
java.io.IOExceptionpublic boolean hasDisplay()
public abstract java.lang.String getServletLabel()
public void init()
throws javax.servlet.ServletException
init in class javax.servlet.GenericServletjavax.servlet.ServletExceptionpublic void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
init in interface javax.servlet.Servletinit in class javax.servlet.GenericServletjavax.servlet.ServletExceptionpublic static java.util.Set<javax.servlet.http.HttpServlet> getRegisteredServletSet(java.lang.Class klass)
Copyright © 2015 The Admin4J Project. All Rights Reserved.