Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      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
    • 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.