net.fckeditor.connector
Class ConnectorServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by net.fckeditor.connector.ConnectorServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class ConnectorServlet
extends HttpServlet

Connector servlet of the File Browser. It accepts requests begins the request cycle, forwards requests to the dispatcher and ends the request cycle with an appropriate response.

Version:
$Id: ConnectorServlet.java 4785 2009-12-21 20:10:28Z mosipov $
See Also:
Serialized Form

Constructor Summary
ConnectorServlet()
           
 
Method Summary
protected  void doGet(HttpServletRequest request, HttpServletResponse response)
          Passes a GET request to the dispatcher.
protected  void doPost(HttpServletRequest request, HttpServletResponse response)
          Passes a POST request to the dispatcher.
 void init()
          Initializes this servlet.
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConnectorServlet

public ConnectorServlet()
Method Detail

init

public void init()
          throws ServletException
Initializes this servlet. It initializes the dispatcher internally.

Overrides:
init in class GenericServlet
Throws:
ServletException - if an exception occurs that interrupts the servlet's normal operation

doGet

protected void doGet(HttpServletRequest request,
                     HttpServletResponse response)
              throws ServletException,
                     IOException
Passes a GET request to the dispatcher.

Overrides:
doGet in class HttpServlet
Throws:
IOException - if an input or output error is detected when the servlet handles the GET request
ServletException - if the request for the GET could not be handled

doPost

protected void doPost(HttpServletRequest request,
                      HttpServletResponse response)
               throws ServletException,
                      IOException
Passes a POST request to the dispatcher.

Overrides:
doPost in class HttpServlet
Throws:
IOException - if an input or output error is detected when the servlet handles the request
ServletException - if the request for the POST could not be handled


Copyright © 2004-2010 Frederico Caldeira Knabben. All Rights Reserved.