org.mmbase.servlet
Class servdb

java.lang.Object
  extended byjavax.servlet.GenericServlet
      extended byjavax.servlet.http.HttpServlet
          extended byorg.mmbase.servlet.MMBaseServlet
              extended byorg.mmbase.servlet.JamesServlet
                  extended byorg.mmbase.servlet.servdb
All Implemented Interfaces:
org.mmbase.servlet.MMBaseStarter, java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

Deprecated. use ImageServlet or AttachmentServlet instead

public class servdb
extends JamesServlet

The servdb servlet handles binairy requests. This includes images (img.db), realaudio (realaudio.db) but also xml (xml.db) and dtd's (dtd.db). With servscan it provides the communication between the clients browser and the mmbase space.

Version:
$Id: servdb.java,v 1.54.2.1 2004/08/06 08:39:33 marcel Exp $
Author:
Daniel Ockeloen
See Also:
Serialized Form
Warning: Will be renamed to:
Servdb

Field Summary
 
Fields inherited from class org.mmbase.servlet.JamesServlet
pageLog
 
Constructor Summary
servdb()
          Deprecated. Construct a servfile worker, it should be places in a worker pool (by the admin thread).
 
Method Summary
 java.util.Vector checkSessionJingle(scanpage sp, java.util.Vector params, javax.servlet.http.HttpServletResponse res)
          Deprecated.  
 java.util.Vector filterSessionMods(scanpage sp, java.util.Vector params, javax.servlet.http.HttpServletResponse res)
          Deprecated.  
 byte[] getAttachment(java.util.Vector params)
          Deprecated. moved to AttachmentServlet
 java.lang.String getAttachmentFileName(java.util.Vector params)
          Deprecated. moved to AttachmentServlet
 java.lang.String getAttachmentMimeType(java.util.Vector params)
          Deprecated. moved to AttachmentServlet
 byte[] getDTD(java.util.Vector params)
          Deprecated.  
 byte[] getFlash(java.util.Vector params)
          Deprecated. Return Flash movie
 java.lang.String getParamValue(java.lang.String wanted, java.util.Vector params)
          Deprecated. try to obtain a decoded param string from the input Vector format in : s(11212) format out 11212 on a get with 's'
 java.lang.String getServletInfo()
          Deprecated. Returns information about this servlet.
 byte[] getXML(java.util.Vector params)
          Deprecated.  
 void init()
          Deprecated. Initializes the servlet.
 void service(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
          Deprecated. The service method is extended with calls for the refCount functionality (for performance related debugging).
 
Methods inherited from class org.mmbase.servlet.JamesServlet
getAddress, getAuthorization, getAuthorization, getCookie, getInitParameters, getModule, getParam, getParamVector, getProperties, getProperty
 
Methods inherited from class org.mmbase.servlet.MMBaseServlet
associateMapping, decRefCount, destroy, doGet, getAssociations, getMMBase, getRequestURL, getServletByAssociation, getServletByMapping, getServletMappings, getServletMappingsByAssociation, incRefCount, setInitException, setMMBase
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service
 
Methods inherited from class javax.servlet.GenericServlet
getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

servdb

public servdb()
Deprecated. 
Construct a servfile worker, it should be places in a worker pool (by the admin thread).

Method Detail

init

public void init()
          throws javax.servlet.ServletException
Deprecated. 
Description copied from class: JamesServlet
Initializes the servlet.

Overrides:
init in class JamesServlet
Throws:
javax.servlet.ServletException
Warning: No Java Documentation Available.

service

public void service(javax.servlet.http.HttpServletRequest req,
                    javax.servlet.http.HttpServletResponse res)
             throws javax.servlet.ServletException,
                    java.io.IOException
Deprecated. 
Description copied from class: MMBaseServlet
The service method is extended with calls for the refCount functionality (for performance related debugging). So you can simply override doGet in extension classes, and this stays working, without having to think about it.

Overrides:
service in class MMBaseServlet
Throws:
javax.servlet.ServletException
java.io.IOException
Warning: No Java Documentation Available.
Warning: Contains VPRO Legacy Code

getServletInfo

public java.lang.String getServletInfo()
Deprecated. 
Description copied from class: MMBaseServlet
Returns information about this servlet. Don't forget to override it.

Specified by:
getServletInfo in interface javax.servlet.Servlet
Overrides:
getServletInfo in class MMBaseServlet
Warning: No Java Documentation Available.

filterSessionMods

public java.util.Vector filterSessionMods(scanpage sp,
                                          java.util.Vector params,
                                          javax.servlet.http.HttpServletResponse res)
Deprecated. 
Warning: No Java Documentation Available.

checkSessionJingle

public java.util.Vector checkSessionJingle(scanpage sp,
                                           java.util.Vector params,
                                           javax.servlet.http.HttpServletResponse res)
Deprecated. 
Warning: No Java Documentation Available.

getXML

public byte[] getXML(java.util.Vector params)
Deprecated. 
Warning: No Java Documentation Available.

getAttachmentFileName

public java.lang.String getAttachmentFileName(java.util.Vector params)
Deprecated. moved to AttachmentServlet

Downloading Attachment cjr@dds.nl, July 27th 2000

Returns:
Byte array with contents of 'handle' field of attachment builder

getAttachment

public byte[] getAttachment(java.util.Vector params)
Deprecated. moved to AttachmentServlet

Downloading Attachment cjr@dds.nl, July 27th 2000

Returns:
Byte array with contents of 'handle' field of attachment builder

getAttachmentMimeType

public java.lang.String getAttachmentMimeType(java.util.Vector params)
Deprecated. moved to AttachmentServlet

Mimetype of attachment cjr@dds.nl, July 27th 2000

Returns:
Mimetype of attachment

getFlash

public byte[] getFlash(java.util.Vector params)
Deprecated. 
Return Flash movie

Returns:
Byte array with Flash movie

getDTD

public byte[] getDTD(java.util.Vector params)
Deprecated. 
Warning: No Java Documentation Available.

getParamValue

public java.lang.String getParamValue(java.lang.String wanted,
                                      java.util.Vector params)
Deprecated. 
try to obtain a decoded param string from the input Vector format in : s(11212) format out 11212 on a get with 's'



MMBase build 1.7.1.20041002