All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.haoxuer.discover.plug.data.service.ProxyService Maven / Gradle / Ivy

There is a newer version: 3.3.18-20230117
Show newest version
package com.haoxuer.discover.plug.data.service;

import com.haoxuer.discover.plug.api.ProxyPlugin;
import com.haoxuer.discover.rest.base.ResponseObject;

import java.util.List;
import java.util.Map;

public interface ProxyService {

  /**
   * 执行单个代理服务,插件启用排序号最前的代理
   *
   * @param params
   * @return
   */
  ResponseObject handleSingle(String catalog,Map params);

  /**
   * 串行执行代理服务
   * @param params
   * @return
   */
  ResponseObject handleSerial(String catalog,Map params);


  ResponseObject handleParallel(String catalog,Map params);

  List getPlugins();

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy