org.talika.tarsis.servlets
Class XmlOutputServlet
java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.talika.tarsis.servlets.AbstractServlet
org.talika.tarsis.servlets.XmlOutputServlet
- All Implemented Interfaces:
- java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
public final class XmlOutputServlet
- extends AbstractServlet
XML output servlet of Tarsis MVC Framework.
- Version:
- $Revision: 126 $
- Author:
- Jose M. Palomar
- See Also:
- Serialized Form
Method Summary |
void |
destroy()
Called by the servlet container to indicate to a servlet that the servlet is
being taken out of service. |
void |
init(javax.servlet.ServletConfig config)
Called by the servlet container to indicate to a servlet that the servlet is
being placed into service. |
protected void |
process(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Processes requests for both HTTP GET and POST methods. |
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 |
XmlOutputServlet
public XmlOutputServlet()
init
public void init(javax.servlet.ServletConfig config)
throws javax.servlet.ServletException
- Called by the servlet container to indicate to a servlet that the servlet is
being placed into service.
- Specified by:
init
in interface javax.servlet.Servlet
- Overrides:
init
in class AbstractServlet
- Parameters:
config
- ServletConfig the ServletConfig
object that contains
configutation information for this servlet.
- Throws:
javax.servlet.ServletException
- if an exception occurs that interrupts the servlet's
normal operation.- See Also:
Servlet.init(ServletConfig)
destroy
public void destroy()
- Called by the servlet container to indicate to a servlet that the servlet is
being taken out of service.
- Specified by:
destroy
in interface javax.servlet.Servlet
- Overrides:
destroy
in class AbstractServlet
- See Also:
Servlet.destroy()
process
protected void process(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws javax.servlet.ServletException,
java.io.IOException
- Processes requests for both HTTP GET and POST methods.
- Specified by:
process
in class AbstractServlet
- Parameters:
request
- servlet object that contains the request the client has made of
the servlet.response
- servlet object that contains the response the servlet sends to
the client.
- Throws:
javax.servlet.ServletException
- if the request could not be handled.
IOException
- if an input or output error is detected when the servlet
handles request.
Copyright © 2002-2012 Talika Open Source Group. All Rights Reserved.