Package org.parosproxy.paros.model

Examples of org.parosproxy.paros.model.OptionsParam


      panelSpider.add(jLabel2, gridBagConstraints6);
    }
    return panelSpider;
  }
  public void initParam(Object obj) {
      OptionsParam options = (OptionsParam) obj;
      ScannerParam param = (ScannerParam) options.getParamSet(ScannerParam.class);
      getSliderHostPerScan().setValue(param.getHostPerScan());
      getSliderThreadsPerHost().setValue(param.getThreadPerHost());
  }
View Full Code Here


  public void validateParam(Object obj) {
      // no validation needed
  }
 
  public void saveParam (Object obj) throws Exception {
      OptionsParam options = (OptionsParam) obj;
      ScannerParam param = (ScannerParam) options.getParamSet(ScannerParam.class);
      param.setHostPerScan(getSliderHostPerScan().getValue());
      param.setThreadPerHost(getSliderThreadsPerHost().getValue());
  }
View Full Code Here

      panelSpider.add(jLabel2, gridBagConstraints6);
    }
    return panelSpider;
  }
  public void initParam(Object obj) {
      OptionsParam options = (OptionsParam) obj;
     
      SpiderParam param = (SpiderParam) options.getParamSet(SpiderParam.class);
      getSliderMaxDepth().setValue(param.getMaxDepth());
      getSliderThreads().setValue(param.getThread());
        getTxtSkipURL().setText(param.getSkipURL());
      getTxtScope().setText(param.getScope());
        getChkPostForm().setSelected(param.isPostForm());
View Full Code Here

  public void validateParam(Object obj) {
      // no validation needed
  }
 
  public void saveParam (Object obj) throws Exception {
      OptionsParam options = (OptionsParam) obj;
      SpiderParam param = (SpiderParam) options.getParamSet(SpiderParam.class);
      param.setMaxDepth(getSliderMaxDepth().getValue());
      param.setThread(getSliderThreads().getValue());
        param.setSkipURL(getTxtSkipURL().getText());
        param.setScope(getTxtScope().getText());
        param.setPostForm(getChkPostForm().isSelected());
View Full Code Here

    }
    return chkUseClientCertificate;
  }
 
  public void initParam(Object obj) {
      OptionsParam options = (OptionsParam) obj;
      getChkUseClientCertificate().setSelected(options.getCertificateParam().isUseClientCert());
      getBtnLocation().setEnabled(getChkUseClientCertificate().isSelected());
      getTxtLocation().setText(options.getCertificateParam().getClientCertLocation());

  }
View Full Code Here

  public void validateParam(Object obj) {
      // no validation needed
  }
 
  public void saveParam (Object obj) throws Exception {
      OptionsParam options = (OptionsParam) obj;
      OptionsParamCertificate certParam = options.getCertificateParam();
        certParam.setUseClientCert(getChkUseClientCertificate().isSelected());
        certParam.setEnableCertificate(certParam.isUseClientCert());
     
  }
View Full Code Here

  }
 
  public void initParam(Object obj) {
     
      OptionsParam optionsParam = (OptionsParam) obj;
      ConnectionParam connectionParam = optionsParam.getConnectionParam();
     
      // set Proxy Chain parameters
      if (connectionParam.getProxyChainName().equals("")) {
          chkUseProxyChain.setSelected(false);
          setProxyChainEnabled(false);
View Full Code Here

     
  }

  public void saveParam(Object obj) throws Exception {
   
      OptionsParam optionsParam = (OptionsParam) obj;
      ConnectionParam connectionParam = optionsParam.getConnectionParam();
      int proxyChainPort = 8080;

      if (chkUseProxyChain.isSelected()) {
            try {
                proxyChainPort = Integer.parseInt(txtProxyChainPort.getText());
View Full Code Here

    }
    return chkProcessImages;
  }
 
  public void initParam(Object obj) {
      OptionsParam options = (OptionsParam) obj;
      getChkProcessImages().setSelected(options.getViewParam().getProcessImages() > 0);
  }
View Full Code Here

  public void validateParam(Object obj) {
      // no validation needed
  }
 
  public void saveParam (Object obj) throws Exception {
      OptionsParam options = (OptionsParam) obj;
      options.getViewParam().setProcessImages((getChkProcessImages().isSelected()) ? 1 : 0);
     
  }
View Full Code Here

TOP

Related Classes of org.parosproxy.paros.model.OptionsParam

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.