|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjavax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.liquidsite.app.servlet.LiquidSiteServlet
A front controller servlet. This class handles all incoming HTTP requests.
| Field Summary | |
protected static Log |
LOG
The class logger. |
| Constructor Summary | |
LiquidSiteServlet()
|
|
| Method Summary | |
void |
destroy()
Uninitializes this servlet. |
protected void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles an incoming HTTP GET request. |
protected void |
doHead(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles an incoming HTTP HEAD request. |
protected void |
doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Handles an incoming HTTP POST request. |
java.io.File |
getBaseDir()
Returns the base application directory. |
java.lang.String |
getBuildDate()
Returns the application build date. |
java.lang.String |
getBuildVersion()
Returns the application build version number. |
Configuration |
getConfig()
Returns the application configuration. |
ContentManager |
getContentManager()
Returns the application content manager. |
DatabaseConnector |
getDatabase()
Returns the application database connector. |
void |
init()
Initializes this servlet. |
boolean |
isOnline()
Checks if the application is running correctly. |
void |
restart()
Restarts the application. |
void |
shutdown()
Shuts down the application. |
void |
startup()
Starts up the application. |
| Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doOptions, doPut, doTrace, getLastModified, service, service |
| Methods inherited from class javax.servlet.GenericServlet |
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.liquidsite.app.servlet.Application |
getServletContext |
| Field Detail |
protected static final Log LOG
| Constructor Detail |
public LiquidSiteServlet()
| Method Detail |
public boolean isOnline()
isOnline in interface Applicationpublic void init()
public void destroy()
destroy in interface javax.servlet.Servletpublic void startup()
public void shutdown()
public void restart()
restart in interface Application
protected void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
request - the HTTP request objectresponse - the HTTP response object
javax.servlet.ServletException - if the request couldn't be handled by
this servlet
java.io.IOException - if an IO error occured while attempting to
service this request
protected void doHead(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
request - the HTTP request objectresponse - the HTTP response object
javax.servlet.ServletException - if the request couldn't be handled by
this servlet
java.io.IOException - if an IO error occured while attempting to
service this request
protected void doPost(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
request - the HTTP request objectresponse - the HTTP response object
javax.servlet.ServletException - if the request couldn't be handled by
this servlet
java.io.IOException - if an IO error occured while attempting to
service this requestpublic java.lang.String getBuildVersion()
getBuildVersion in interface Applicationpublic java.lang.String getBuildDate()
getBuildDate in interface Applicationpublic java.io.File getBaseDir()
getBaseDir in interface Applicationpublic Configuration getConfig()
getConfig in interface Applicationpublic DatabaseConnector getDatabase()
getDatabase in interface Applicationpublic ContentManager getContentManager()
getContentManager in interface Application
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||