org.opennms.web.asset
Class ExportAssetsServlet

java.lang.Object
  extended by javax.servlet.GenericServlet
      extended by javax.servlet.http.HttpServlet
          extended by org.opennms.web.asset.ExportAssetsServlet
All Implemented Interfaces:
Serializable, Servlet, ServletConfig

public class ExportAssetsServlet
extends HttpServlet

Exports the assets database to a comma-separated values text file.

Author:
Lawrence Karnowski, Benjamin Reed, OpenNMS
See Also:
Serialized Form

Field Summary
protected  AssetModel model
           
 
Constructor Summary
ExportAssetsServlet()
           
 
Method Summary
 void doGet(HttpServletRequest request, HttpServletResponse response)
           
 void init()
           
 
Methods inherited from class javax.servlet.http.HttpServlet
doDelete, doHead, doOptions, doPost, 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
 

Field Detail

model

protected AssetModel model
Constructor Detail

ExportAssetsServlet

public ExportAssetsServlet()
Method Detail

init

public void init()
          throws ServletException
Overrides:
init in class GenericServlet
Throws:
ServletException

doGet

public void doGet(HttpServletRequest request,
                  HttpServletResponse response)
           throws ServletException,
                  IOException
Overrides:
doGet in class HttpServlet
Throws:
ServletException
IOException


Copyright © 2009. All Rights Reserved.