gpt4 book ai didi

org.apache.xmlrpc.common.XmlRpcWorker.execute()方法的使用及代码示例

转载 作者:知者 更新时间:2024-03-22 15:25:05 25 4
gpt4 key购买 nike

本文整理了Java中org.apache.xmlrpc.common.XmlRpcWorker.execute()方法的一些代码示例,展示了XmlRpcWorker.execute()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。XmlRpcWorker.execute()方法的具体详情如下:
包路径:org.apache.xmlrpc.common.XmlRpcWorker
类名称:XmlRpcWorker
方法名:execute

XmlRpcWorker.execute介绍

[英]Performs a synchronous request. The client worker extends this interface with the ability to perform asynchronous requests.
[中]执行同步请求。客户机工作者通过执行异步请求的能力扩展了这个接口。

代码示例

代码示例来源:origin: xmlrpc/xmlrpc-client

/** Performs a request with the clients default configuration.
 * @param pRequest The request being performed.
 * @return The result object.
 * @throws XmlRpcException Performing the request failed.
 */
public Object execute(XmlRpcRequest pRequest) throws XmlRpcException {
  return getWorkerFactory().getWorker().execute(pRequest);
}

代码示例来源:origin: org.sonatype.sisu/sisu-xmlrpc-client

/** Performs a request with the clients default configuration.
 * @param pRequest The request being performed.
 * @return The result object.
 * @throws XmlRpcException Performing the request failed.
 */
public Object execute(XmlRpcRequest pRequest) throws XmlRpcException {
  return getWorkerFactory().getWorker().execute(pRequest);
}

代码示例来源:origin: rosjava/rosjava_core

/** Performs a request with the clients default configuration.
 * @param pRequest The request being performed.
 * @return The result object.
 * @throws XmlRpcException Performing the request failed.
 */
public Object execute(XmlRpcRequest pRequest) throws XmlRpcException {
  return getWorkerFactory().getWorker().execute(pRequest);
}

代码示例来源:origin: org.apache.xmlrpc/xmlrpc-client

/** Performs a request with the clients default configuration.
 * @param pRequest The request being performed.
 * @return The result object.
 * @throws XmlRpcException Performing the request failed.
 */
public Object execute(XmlRpcRequest pRequest) throws XmlRpcException {
  return getWorkerFactory().getWorker().execute(pRequest);
}

代码示例来源:origin: rosjava/rosjava_core

/** Performs the given request.
   * @param pRequest The request being executed.
   * @return The result object.
   * @throws XmlRpcException The request failed.
   */
  public Object execute(XmlRpcRequest pRequest) throws XmlRpcException {
    final XmlRpcWorkerFactory factory = getWorkerFactory();
    final XmlRpcWorker worker = factory.getWorker();
    try {
      return worker.execute(pRequest);
    } finally {
      factory.releaseWorker(worker);
    }
  }
}

代码示例来源:origin: org.apache.xmlrpc/xmlrpc-server

/** Performs the given request.
   * @param pRequest The request being executed.
   * @return The result object.
   * @throws XmlRpcException The request failed.
   */
  public Object execute(XmlRpcRequest pRequest) throws XmlRpcException {
    final XmlRpcWorkerFactory factory = getWorkerFactory();
    final XmlRpcWorker worker = factory.getWorker();
    try {
      return worker.execute(pRequest);
    } finally {
      factory.releaseWorker(worker);
    }
  }
}

代码示例来源:origin: org.sonatype.sisu/sisu-xmlrpc-server

/** Performs the given request.
   * @param pRequest The request being executed.
   * @return The result object.
   * @throws XmlRpcException The request failed.
   */
  public Object execute(XmlRpcRequest pRequest) throws XmlRpcException {
    final XmlRpcWorkerFactory factory = getWorkerFactory();
    final XmlRpcWorker worker = factory.getWorker();
    try {
      return worker.execute(pRequest);
    } finally {
      factory.releaseWorker(worker);
    }
  }
}

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com