com.stratelia.webactiv.kmelia.servlets
Class KmeliaPublicationExportServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by com.stratelia.webactiv.kmelia.servlets.KmeliaPublicationExportServlet
All Implemented Interfaces:
Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class KmeliaPublicationExportServlet
extends javax.servlet.http.HttpServlet

An HTTP servlet dedicated to the export of Kmelia publications.

See Also:
Serialized Form

Constructor Summary
KmeliaPublicationExportServlet()
           
 
Method Summary
protected  void service(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Listens for HTTP requests querying the export of a publication into a given format.
 
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, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KmeliaPublicationExportServlet

public KmeliaPublicationExportServlet()
Method Detail

service

protected void service(javax.servlet.http.HttpServletRequest request,
                       javax.servlet.http.HttpServletResponse response)
                throws javax.servlet.ServletException,
                       IOException
Listens for HTTP requests querying the export of a publication into a given format. Sends back the content of the export result.

Overrides:
service in class javax.servlet.http.HttpServlet
Parameters:
request - the HTTP requests with the export parameters.
response - the HTTP responses with the export content.
Throws:
javax.servlet.ServletException - if an error occurs while processing the export.
IOException - if an error occurs while generating export files or when communicating with the requester.


Copyright © 2016 Silverpeas. All Rights Reserved.