Package com.subgraph.vega.api.model.requests

Examples of com.subgraph.vega.api.model.requests.IRequestOrigin


      public boolean match(IRequestOrigin requestOrigin) {
        return requestOrigin.getOrigin() == IRequestOrigin.Origin.ORIGIN_REQUEST_EDITOR;
      }
    });
    if (results.size() == 0) {
      IRequestOrigin requestOrigin = new RequestOrigin(IRequestOrigin.Origin.ORIGIN_REQUEST_EDITOR);
      database.store(requestOrigin);
      return requestOrigin;
    } else {
      return results.get(0);
    }
View Full Code Here


        }
      },
      new ColumnLabelProvider() {
        @Override
        public String getText(Object element) {
          final IRequestOrigin origin = ((IProxyTransaction) element).getRequestEngine().getRequestOrigin();
          if (origin instanceof IRequestOriginProxy) {
            return origin.toString();
          } else {
            return null;
          }
        }
      },
View Full Code Here

        }
      },
      new ColumnLabelProvider() {
        @Override
        public String getText(Object element) {
          final IRequestOrigin origin = ((IHttpRequestTask) element).getRequestEngine().getRequestOrigin();
          if (origin instanceof IRequestOriginProxy) {
            return origin.toString();
          } else {
            return null;
          }
        }
      },
View Full Code Here

    if(workspace != null) {
      contentAnalyzer = contentAnalyzerFactory.createContentAnalyzer(workspace.getScanAlertRepository().getProxyScanInstance());
      contentAnalyzer.setDefaultAddToRequestLog(true);
      contentAnalyzer.setAddLinksToModel(true);
    }
    IRequestOrigin requestOrigin = workspace.getRequestLog().getRequestOriginRequestEditor();
    IHttpRequestEngineFactory requestEngineFactory = Activator.getDefault().getHttpRequestEngineFactoryService();
    requestEngine = requestEngineFactory.createRequestEngine(IHttpRequestEngine.EngineConfigType.CONFIG_PROXY, requestEngineFactory.createConfig(), requestOrigin);
    requestBuilder = requestEngineFactory.createRequestBuilder();
  }
View Full Code Here

TOP

Related Classes of com.subgraph.vega.api.model.requests.IRequestOrigin

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.