1 19 20 package org.apache.excalibur.instrument.manager.http; 21 22 import java.io.IOException ; 23 import java.io.PrintWriter ; 24 import java.util.Map ; 25 26 import org.apache.excalibur.instrument.manager.DefaultInstrumentManager; 27 28 34 public class XMLInstrumentManagerHandler 35 extends AbstractXMLHandler 36 { 37 40 46 public XMLInstrumentManagerHandler( DefaultInstrumentManager manager, 47 InstrumentManagerHTTPConnector connector ) 48 { 49 super( "/instrument-manager.xml", manager, connector ); 50 } 51 52 55 62 public void doGet( String path, Map parameters, PrintWriter out ) 63 throws IOException 64 { 65 boolean packed = getBooleanParameter( parameters, "packed", false ); 66 boolean recurse = getBooleanParameter( parameters, "recurse", false ); 67 68 out.println( InstrumentManagerHTTPConnector.XML_BANNER ); 69 outputInstrumentManager( 70 out, getInstrumentManager(), "", recurse, packed, getConnector().isReadOnly() ); 71 } 72 73 76 } 77 78 | Popular Tags |