private static final class RecordingHttpListener implements Runnable
{
public void run()
{
final Mozilla mozilla = Mozilla.getInstance();
nsIServiceManager serviceManager = mozilla.getServiceManager();
nsIObserverService observerService = ( nsIObserverService )serviceManager.getServiceByContractID(
"@mozilla.org/observer-service;1", nsIObserverService.NS_IOBSERVERSERVICE_IID );
final nsIBinaryInputStream in = XPCOMManager.getInstance().newComponent( "@mozilla.org/binaryinputstream;1",
nsIBinaryInputStream.class );