|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.mmbase.module.Module
org.mmbase.module.ProcessorModule
org.mmbase.module.gui.html.scanparser
scanpage is a container class it holds all objects needed per scan page it was introduced to make servscan threadsafe but will probably in the future hold all page related info instead of HttpServletR equest and HttpServletResponse because we want extend the model of offline page generation.
| Field Summary | |
static scancacheInterface |
scancache
|
| Constructor Summary | |
scanparser()
|
|
| Method Summary | |
static int |
calccrc32(java.lang.String str)
|
java.lang.String |
calcPage(java.lang.String part2,
scanpage sp,
int cachetype)
|
void |
do_proc_input(java.lang.String rq_line,
HttpPost poster,
java.util.Hashtable proc_var,
java.util.Hashtable proc_cmd,
scanpage sp)
This does the handling of the Form inputs. |
java.lang.String |
doEndPart(java.lang.String template,
int last,
int rpos,
int numitems,
int epos)
|
java.lang.String |
doPrePart(java.lang.String template,
int last,
int rpos,
int numitems,
int epos)
|
java.lang.String |
getfile(java.lang.String where)
|
java.lang.String |
handle_line(java.lang.String body,
sessionInfo session,
scanpage sp)
Process the HTML for our own extensions |
void |
init()
Init the servscan, this is needed because it was created using a newInstanceOf(). |
void |
maintainance()
maintainance call, will be called by the admin to perform managment tasks. |
void |
processPage(scanpage sp,
java.lang.String uri)
Start a process to calculate a page in the background used by scancache to generate new pages for expired ones |
void |
removeProcess(java.lang.String uri)
Remove a PageProcess from the list of pages currently being calculated |
java.util.Vector |
reverse(java.util.Vector input,
int num)
|
| Methods inherited from class org.mmbase.module.ProcessorModule |
cacheCheck, getList, getListBuilder, getNodeList, onload, process, reload, replace, replace, unload |
| Methods inherited from class org.mmbase.module.Module |
getInitParameter, getInitParameters, getMaintainer, getMimeType, getMimeTypeFile, getModule, getModule, getModuleInfo, getModules, getName, getProperties, getProperty, getVersion, hasStarted, loadModulesFromDisk, setInitParameter, setMaintainer, setName, setVersion, shutdown, shutdownModules, startModule, startModules, state |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public static scancacheInterface scancache
| Constructor Detail |
public scanparser()
| Method Detail |
public void init()
init in class ProcessorModule
public java.lang.String doPrePart(java.lang.String template,
int last,
int rpos,
int numitems,
int epos)
public java.lang.String doEndPart(java.lang.String template,
int last,
int rpos,
int numitems,
int epos)
public java.util.Vector reverse(java.util.Vector input,
int num)
public final java.lang.String handle_line(java.lang.String body,
sessionInfo session,
scanpage sp)
throws ParseException
ParseExceptionpublic final java.lang.String getfile(java.lang.String where)
public final void do_proc_input(java.lang.String rq_line,
HttpPost poster,
java.util.Hashtable proc_var,
java.util.Hashtable proc_cmd,
scanpage sp)
public void maintainance()
maintainance in class Module
public java.lang.String calcPage(java.lang.String part2,
scanpage sp,
int cachetype)
public void processPage(scanpage sp,
java.lang.String uri)
sp - The request of the page (duplicated from the original)uri - The uri of the requestpublic void removeProcess(java.lang.String uri)
uri - Uri of the request being calculatedpublic static int calccrc32(java.lang.String str)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||