Package org.parosproxy.paros.extension.history

Examples of org.parosproxy.paros.extension.history.ExtensionHistory


            if (node.isRoot()) {
                return;
            }

            // delete reference in node
            ExtensionHistory ext = (ExtensionHistory) Control.getSingleton().getExtensionLoader().getExtension("ExtensionHistory");
            ext.getHistoryList().removeElement(node.getHistoryReference());

            if (node.getHistoryReference()!= null) {
                node.getHistoryReference().delete();
            }
           

            // delete past reference in node
            while (node.getPastHistoryReference().size() > 0) {
                HistoryReference ref = (HistoryReference) node.getPastHistoryReference().get(0);
                ext.getHistoryList().removeElement(ref);
                ref.delete();
                node.getPastHistoryReference().remove(0);
            }
           
            map.removeNodeFromParent(node);
View Full Code Here


                return;
            }

            // delete reference in node
           
            ExtensionHistory ext = (ExtensionHistory) Control.getSingleton().getExtensionLoader().getExtension("ExtensionHistory");
            ext.getHistoryList().removeElement(node.getHistoryReference());

            // delete past reference in node
            while (node.getPastHistoryReference().size() > 0) {
                HistoryReference ref = (HistoryReference) node.getPastHistoryReference().get(0);
                ext.getHistoryList().removeElement(ref);
                node.getPastHistoryReference().remove(0);
            }
           
            map.removeNodeFromParent(node);
        }
View Full Code Here

        getExtensionLoader().addExtension(new ExtensionFilter());
        getExtensionLoader().addExtension(new ExtensionPatternSearch());
        getExtensionLoader().addExtension(new ExtensionState());

        getExtensionLoader().addExtension(new ExtensionTrap());
        getExtensionLoader().addExtension(new ExtensionHistory());
        getExtensionLoader().addExtension(new ExtensionEncoder());
        getExtensionLoader().addExtension(new ExtensionSpider());
        getExtensionLoader().addExtension(new ExtensionScanner());
        getExtensionLoader().addExtension(new ExtensionReport());
        getExtensionLoader().addExtension(new ExtensionManualRequestEditor());
View Full Code Here

         
          if (msg.getResponseHeader().isEmpty()) {
            return null;
          }
         
          ExtensionHistory extHistory = ((ExtensionHistory)Control.getSingleton().getExtensionLoader().getExtension(ExtensionHistory.NAME));
          extHistory.addHistory(msg, HistoryReference.TYPE_PROXIED);
         
          SwingUtilities.invokeAndWait(new Runnable(){
        @Override
        public void run() {
          // Needs to be done on the EDT
View Full Code Here

      if (node.isRoot()) {
        return;
      }

      // delete reference in node
      ExtensionHistory ext = (ExtensionHistory) Control.getSingleton()
          .getExtensionLoader().getExtension("ExtensionHistory");
      ext.getHistoryList().removeElement(node.getHistoryReference());

      if (node.getHistoryReference() != null) {
        node.getHistoryReference().delete();
      }

      // delete past reference in node
      while (node.getPastHistoryReference().size() > 0) {
        HistoryReference ref = (HistoryReference) node
            .getPastHistoryReference().get(0);
        ext.getHistoryList().removeElement(ref);
        ref.delete();
        node.getPastHistoryReference().remove(0);
      }

      map.removeNodeFromParent(node);
View Full Code Here

        return;
      }

      // delete reference in node

      ExtensionHistory ext = (ExtensionHistory) Control.getSingleton()
          .getExtensionLoader().getExtension("ExtensionHistory");
      ext.getHistoryList().removeElement(node.getHistoryReference());

      // delete past reference in node
      while (node.getPastHistoryReference().size() > 0) {
        HistoryReference ref = (HistoryReference) node
            .getPastHistoryReference().get(0);
        ext.getHistoryList().removeElement(ref);
        node.getPastHistoryReference().remove(0);
      }

      map.removeNodeFromParent(node);
    }
View Full Code Here

   
    // ZAP: Moved report extension above history so Generate Report is above the Exports
        getExtensionLoader().addExtension(new ExtensionReport());
   
    getExtensionLoader().addExtension(new ExtensionTrap());
    getExtensionLoader().addExtension(new ExtensionHistory());
   
    // ZAP: new extension - search
    //getExtensionLoader().addExtension(new ExtensionPatternSearch());
        getExtensionLoader().addExtension(new ExtensionSearch());
   
View Full Code Here

            if (msg.getResponseHeader().isEmpty()) {
                logger.info("Response header was empty.");
                return null;
            }

            ExtensionHistory extHistory = (ExtensionHistory)Control.getSingleton().getExtensionLoader().getExtension(ExtensionHistory.NAME);
            extHistory.addHistory(msg, HistoryReference.TYPE_MANUAL);

            Model.getSingleton().getSession().getSiteTree().addPath(msg.getHistoryRef());

            for (int i=0; i < 10; i++) {
                startNode = Model.getSingleton().getSession().getSiteTree().findNode(new URI(url.toString(), false));
View Full Code Here

TOP

Related Classes of org.parosproxy.paros.extension.history.ExtensionHistory

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.