it.sistematica.isharedoc.pknet.support
Class PkNetServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by it.sistematica.isharedoc.pknet.support.PkNetServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class PkNetServlet
extends javax.servlet.http.HttpServlet

See Also:
Serialized Form

Nested Class Summary
static class PkNetServlet.Action
           
static class PkNetServlet.Conf
           
 
Field Summary
static java.lang.String ACTION_DIGEST_CONTENT_TYPE
           
static java.lang.String ACTION_P7M_CONTENT_TYPE
           
static java.lang.String ACTION_PARAMETER
           
static java.lang.String ACTION_ZIP_CONTENT_TYPE
           
static org.apache.log4j.Logger LOG
           
static java.lang.String PATH_PARAMETER
           
 
Constructor Summary
PkNetServlet()
           
 
Method Summary
static PkNetProcess addProcess(javax.servlet.http.HttpServletRequest request, PkNetProcess process)
           
static PkNetAppletInput createAppletInput(javax.servlet.http.HttpServletRequest request, java.lang.String processId)
           
protected  void doAppletResponse(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
static PkNetProcess getProcess(javax.servlet.http.HttpServletRequest request, java.lang.String id)
           
 void init(javax.servlet.ServletConfig config)
           
protected  void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, 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
 

Field Detail

LOG

public static final org.apache.log4j.Logger LOG

ACTION_PARAMETER

public static final java.lang.String ACTION_PARAMETER
See Also:
Constant Field Values

PATH_PARAMETER

public static final java.lang.String PATH_PARAMETER
See Also:
Constant Field Values

ACTION_DIGEST_CONTENT_TYPE

public static final java.lang.String ACTION_DIGEST_CONTENT_TYPE
See Also:
Constant Field Values

ACTION_P7M_CONTENT_TYPE

public static final java.lang.String ACTION_P7M_CONTENT_TYPE
See Also:
Constant Field Values

ACTION_ZIP_CONTENT_TYPE

public static final java.lang.String ACTION_ZIP_CONTENT_TYPE
See Also:
Constant Field Values
Constructor Detail

PkNetServlet

public PkNetServlet()
Method Detail

init

public void init(javax.servlet.ServletConfig config)
          throws javax.servlet.ServletException
Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class javax.servlet.GenericServlet
Throws:
javax.servlet.ServletException

addProcess

public static PkNetProcess addProcess(javax.servlet.http.HttpServletRequest request,
                                      PkNetProcess process)

getProcess

public static PkNetProcess getProcess(javax.servlet.http.HttpServletRequest request,
                                      java.lang.String id)

createAppletInput

public static PkNetAppletInput createAppletInput(javax.servlet.http.HttpServletRequest request,
                                                 java.lang.String processId)

service

protected void service(javax.servlet.http.HttpServletRequest request,
                       javax.servlet.http.HttpServletResponse response)
                throws javax.servlet.ServletException,
                       java.io.IOException
Overrides:
service in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
java.io.IOException

doAppletResponse

protected void doAppletResponse(javax.servlet.http.HttpServletRequest request,
                                javax.servlet.http.HttpServletResponse response)
                         throws javax.servlet.ServletException,
                                java.io.IOException
Throws:
javax.servlet.ServletException
java.io.IOException