org.paneris.bibliomania
Class DownloadFile
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.melati.servlet.ConfigServlet
org.paneris.bibliomania.DownloadFile
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public class DownloadFile
- extends org.melati.servlet.ConfigServlet
- See Also:
- Serialized Form
Field Summary |
protected org.melati.template.TemplateEngine |
templateEngine
|
Fields inherited from class org.melati.servlet.ConfigServlet |
melatiConfig, sysAdminEmail, sysAdminName |
Method Summary |
protected void |
doConfiguredRequest(org.melati.Melati melatiIn)
|
void |
doDownload(org.melati.Melati melati,
org.paneris.bibliomania.DownloadFile.DownloadItem download)
|
void |
error(org.melati.Melati melati,
java.lang.Exception e,
org.paneris.bibliomania.DownloadFile.DownloadItem download)
|
org.paneris.bibliomania.DownloadFile.DownloadItem |
establishUser(org.melati.Melati melati)
|
java.lang.String |
getSysAdminEmail()
|
java.lang.String |
getSysAdminName()
|
protected void |
handleException(org.melati.Melati melati,
java.lang.Exception exception)
|
void |
init(javax.servlet.ServletConfig config)
Inititialise WebMacro |
protected org.melati.PoemContext |
melatiContext(org.melati.Melati melati)
|
void |
recordDownload(org.melati.Melati melati,
org.paneris.bibliomania.DownloadFile.DownloadItem downloaditem)
|
Methods inherited from class org.melati.servlet.ConfigServlet |
doGet, doPost, error, melatiConfig, poemContext, setSysAdminEmail, setSysAdminName, writeConnectionPendingException, writeError |
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, 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 |
templateEngine
protected org.melati.template.TemplateEngine templateEngine
DownloadFile
public DownloadFile()
init
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
- Inititialise WebMacro
- Specified by:
init
in interface javax.servlet.Servlet
- Overrides:
init
in class org.melati.servlet.ConfigServlet
- Parameters:
config
-
- Throws:
javax.servlet.ServletException
doConfiguredRequest
protected void doConfiguredRequest(org.melati.Melati melatiIn)
throws java.lang.Exception
- Specified by:
doConfiguredRequest
in class org.melati.servlet.ConfigServlet
- Throws:
java.lang.Exception
establishUser
public org.paneris.bibliomania.DownloadFile.DownloadItem establishUser(org.melati.Melati melati)
throws org.melati.poem.AccessPoemException,
DownloadFile.DownloadException
- Throws:
org.melati.poem.AccessPoemException
DownloadFile.DownloadException
doDownload
public void doDownload(org.melati.Melati melati,
org.paneris.bibliomania.DownloadFile.DownloadItem download)
throws java.lang.Exception
- Throws:
java.lang.Exception
recordDownload
public void recordDownload(org.melati.Melati melati,
org.paneris.bibliomania.DownloadFile.DownloadItem downloaditem)
error
public void error(org.melati.Melati melati,
java.lang.Exception e,
org.paneris.bibliomania.DownloadFile.DownloadItem download)
melatiContext
protected org.melati.PoemContext melatiContext(org.melati.Melati melati)
getSysAdminName
public java.lang.String getSysAdminName()
- Overrides:
getSysAdminName
in class org.melati.servlet.ConfigServlet
getSysAdminEmail
public java.lang.String getSysAdminEmail()
- Overrides:
getSysAdminEmail
in class org.melati.servlet.ConfigServlet
handleException
protected void handleException(org.melati.Melati melati,
java.lang.Exception exception)
throws java.lang.Exception
- Throws:
java.lang.Exception
Copyright © 2000-2009 PanEris. All Rights Reserved.