net.spy.jwebkit.debug
Class TopServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by net.spy.jwebkit.JWHttpServlet
              extended by net.spy.jwebkit.xml.XMLOutputServlet
                  extended by net.spy.jwebkit.debug.TopServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class TopServlet
extends XMLOutputServlet

Top-like functionality for java.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class net.spy.jwebkit.xml.XMLOutputServlet
DOCUMENT
 
Constructor Summary
TopServlet()
           
 
Method Summary
protected  void doGet(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)
          Get an XML document from the request attribute and send it as text/xml.
 void init(javax.servlet.ServletConfig conf)
          Configurate.
 
Methods inherited from class net.spy.jwebkit.xml.XMLOutputServlet
getContentHandler, sendXml, sendXml, sendXml, sendXml
 
Methods inherited from class net.spy.jwebkit.JWHttpServlet
getContextRelativeFilePathParameter, getLogger, sendHTML, sendPlain, sendSimple, service, service
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified
 
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

TopServlet

public TopServlet()
Method Detail

init

public void init(javax.servlet.ServletConfig conf)
          throws javax.servlet.ServletException
Configurate.

Specified by:
init in interface javax.servlet.Servlet
Overrides:
init in class javax.servlet.GenericServlet
Throws:
javax.servlet.ServletException

doGet

protected void doGet(javax.servlet.http.HttpServletRequest request,
                     javax.servlet.http.HttpServletResponse response)
              throws javax.servlet.ServletException,
                     java.io.IOException
Description copied from class: XMLOutputServlet
Get an XML document from the request attribute and send it as text/xml.

Overrides:
doGet in class XMLOutputServlet
Parameters:
request - the request
response - the response
Throws:
javax.servlet.ServletException
java.io.IOException


Copyright © 1995-2007 SPY Internetworking. All Rights Reserved.