public class servscan extends JamesServlet
| Modifier and Type | Field and Description |
|---|---|
protected String |
charSet |
static String |
DEFAULT_CHARSET |
static String |
SHTML_CONTENTTYPE |
pageLogmmbase, retryAfter| Constructor and Description |
|---|
servscan() |
| Modifier and Type | Method and Description |
|---|---|
String |
getServletInfo()
Returns information about this servlet.
|
protected String |
handle_line(String body,
sessionInfo session,
scanpage sp)
handle_line is called by service to parse the SHTML in body.
|
(package private) boolean |
handleCache(scanpage sp,
javax.servlet.http.HttpServletResponse res,
PrintWriter out) |
(package private) boolean |
handleCacheSave(scanpage sp,
javax.servlet.http.HttpServletResponse res) |
(package private) void |
handlePost(scanpage sp,
javax.servlet.http.HttpServletResponse res) |
void |
init()
Initialize this servlet
|
void |
service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
Servlet request service.
|
void |
setMMBase(MMBase mmb)
Sets the mmbase member.
|
getAddress, getAuthorization, getAuthorization, getCookie, getInitParameters, getModule, getParam, getParamVector, getProperties, getPropertyassociateMapping, checkInited, decRefCount, destroy, doGet, getAssociations, getBasePath, getMMBase, getRequestURL, getServletByAssociation, getServletByMapping, getServletMappings, getServletMappingsByAssociation, incRefCount, setInitExceptiondoDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, servicepublic static final String SHTML_CONTENTTYPE
public static final String DEFAULT_CHARSET
protected String charSet
public void init()
throws javax.servlet.ServletException
init in class JamesServletjavax.servlet.ServletExceptionpublic void setMMBase(MMBase mmb)
MMBaseServletsetMMBase in interface MMBaseStartersetMMBase in class MMBaseServletprotected String handle_line(String body, sessionInfo session, scanpage sp) throws ParseException
ParseExceptionpublic void service(javax.servlet.http.HttpServletRequest req,
javax.servlet.http.HttpServletResponse res)
throws javax.servlet.ServletException,
IOException
service in class MMBaseServletjavax.servlet.ServletExceptionIOExceptionpublic String getServletInfo()
MMBaseServletgetServletInfo in interface javax.servlet.ServletgetServletInfo in class MMBaseServletvoid handlePost(scanpage sp, javax.servlet.http.HttpServletResponse res) throws Exception
Exceptionboolean handleCacheSave(scanpage sp, javax.servlet.http.HttpServletResponse res)
boolean handleCache(scanpage sp, javax.servlet.http.HttpServletResponse res, PrintWriter out)
MMBase 1.9-SNAPSHOT - ${javadoctimestamp}