|
||||||||||
| 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
info.aduna.gee.publication.servlets.ImportEntryServlet
public class ImportEntryServlet
The servlet that handles IMPORT entries.
| Field Summary | |
|---|---|
protected Hashtable |
_handlers
For each fully qualified class remember a corresponding instance of the class. |
protected MultiLevelExpiringCache |
_results
For each importEntry && parameters && additional information remember the result previously calculated. |
protected Hashtable |
_tmpResults
For each importHandler remember its resultset in progress. |
| Constructor Summary | |
|---|---|
ImportEntryServlet()
|
|
| Method Summary | |
|---|---|
void |
add(ImportHandler zqh,
String source,
Properties options,
Properties attribs,
Properties params)
Add an Entry to the resultset currently produced. |
void |
doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
|
ZContainer |
expandImport(javax.servlet.http.HttpServletRequest request,
Entry theImportEntry)
... |
String |
getLanguage(ImportHandler zqh)
Get the name of the user's language. |
String |
getServletInfo()
|
void |
setTtl(ImportHandler zqh,
long seconds)
Set the time to live of the resultset currently produced. |
String |
toString()
|
| Methods inherited from class javax.servlet.http.HttpServlet |
|---|
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service |
| Methods inherited from class javax.servlet.GenericServlet |
|---|
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, init, log, log |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
protected Hashtable _handlers
protected MultiLevelExpiringCache _results
protected Hashtable _tmpResults
| Constructor Detail |
|---|
public ImportEntryServlet()
| Method Detail |
|---|
public String getServletInfo()
getServletInfo in interface javax.servlet.ServletgetServletInfo in class javax.servlet.GenericServlet
public void doGet(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
IOException
doGet in class javax.servlet.http.HttpServletjavax.servlet.ServletException
IOExceptionpublic String toString()
toString in class Object
public ZContainer expandImport(javax.servlet.http.HttpServletRequest request,
Entry theImportEntry)
public void setTtl(ImportHandler zqh,
long seconds)
setTtl in interface ImportContextseconds - the time-to-live of the current results in seconds
public void add(ImportHandler zqh,
String source,
Properties options,
Properties attribs,
Properties params)
add in interface ImportContextzqh - the calling ImportHandlersource - eitheroptions - eitherattribs - eitherparams - eitheror null,
or null,
or null,
or nullpublic String getLanguage(ImportHandler zqh)
ImportContext
getLanguage in interface ImportContext
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||