emolib.util.servlet.es
Class ProcessingService

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by emolib.util.servlet.es.ProcessingService
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class ProcessingService
extends javax.servlet.http.HttpServlet

The ProcessingService is a servlet class that acts as a web interface to perform the emotional tagging of the posted text in Spanish.

This is a copy of the ProcessingService translated into Spanish by Isaac Lozano.

Author:
Alexandre Trilla (atrilla@salle.url.edu)
See Also:
ProcessingService, Serialized Form

Constructor Summary
ProcessingService()
          Main constructor of the servlet service.
 
Method Summary
 void service(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
          Overrides the service procedure of the servlet specification in order to include the EmoLib processing facilities.
 
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

ProcessingService

public ProcessingService()
                  throws java.lang.Exception
Main constructor of the servlet service. It loads the needed resources once.

Throws:
java.lang.Exception
Method Detail

service

public void service(javax.servlet.http.HttpServletRequest req,
                    javax.servlet.http.HttpServletResponse res)
             throws javax.servlet.ServletException,
                    java.io.IOException,
                    java.lang.OutOfMemoryError
Overrides the service procedure of the servlet specification in order to include the EmoLib processing facilities.

Overrides:
service in class javax.servlet.http.HttpServlet
Throws:
javax.servlet.ServletException
java.io.IOException
java.lang.OutOfMemoryError