org.cmis.interopserver.services.cap
Class CAPServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.cmis.interopserver.services.cap.CAPServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class CAPServlet
extends javax.servlet.http.HttpServlet

Author:
hoffmanm-c To change the template for this generated type comment go to Window>Preferences>Java>Code Generation>Code and Comments
See Also:
Serialized Form

Field Summary
protected static java.util.logging.Logger log
          CMIS logger
 
Constructor Summary
CAPServlet()
           
 
Method Summary
 void destroy()
          Destruction of the servlet.
 void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          The doGet method of the servlet.
 void doPost(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          The doPost method of the servlet.
 java.lang.String getServletInfo()
          Returns information about the servlet, such as author, version, and copyright.
 void init()
          Initialization of the servlet.
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, 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
 

Field Detail

log

protected static java.util.logging.Logger log
CMIS logger

Constructor Detail

CAPServlet

public CAPServlet()
Method Detail

doGet

public void doGet(javax.servlet.http.HttpServletRequest request,
                  javax.servlet.http.HttpServletResponse response)
           throws javax.servlet.ServletException,
                  java.io.IOException
The doGet method of the servlet.
This method is called when a form has its tag value method equals to get.

Overrides:
doGet in class javax.servlet.http.HttpServlet
Parameters:
request - the request send by the client to the server
response - the response send by the server to the client
Throws:
javax.servlet.ServletException - if an error occurred
java.io.IOException - if an error occurred

doPost

public void doPost(javax.servlet.http.HttpServletRequest request,
                   javax.servlet.http.HttpServletResponse response)
            throws javax.servlet.ServletException,
                   java.io.IOException
The doPost method of the servlet.
This method is called when a form has its tag value method equals to post.

Overrides:
doPost in class javax.servlet.http.HttpServlet
Parameters:
request - the request send by the client to the server
response - the response send by the server to the client
Throws:
javax.servlet.ServletException - if an error occurred
java.io.IOException - if an error occurred

init

public void init()
          throws javax.servlet.ServletException
Initialization of the servlet.

Overrides:
init in class javax.servlet.GenericServlet
Throws:
javax.servlet.ServletException - if an error occure

destroy

public void destroy()
Destruction of the servlet.

Specified by:
destroy in interface javax.servlet.Servlet
Overrides:
destroy in class javax.servlet.GenericServlet

getServletInfo

public java.lang.String getServletInfo()
Returns information about the servlet, such as author, version, and copyright.

Specified by:
getServletInfo in interface javax.servlet.Servlet
Overrides:
getServletInfo in class javax.servlet.GenericServlet
Returns:
String information about this servlet