com.buession.httpclient.AbstractHttpAsyncClient Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of buession-httpclient Show documentation
Show all versions of buession-httpclient Show documentation
Buession Framework Http Client
The newest version!
/*
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
* See the NOTICE file distributed with this work for additional information regarding copyright ownership.
* The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not
* use this file except in compliance with the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software distributed under the License is
* distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and limitations under the License.
*
* =========================================================================================================
*
* This software consists of voluntary contributions made by many individuals on behalf of the
* Apache Software Foundation. For more information on the Apache Software Foundation, please see
* .
*
* +-------------------------------------------------------------------------------------------------------+
* | License: http://www.apache.org/licenses/LICENSE-2.0.txt |
* | Author: Yong.Teng |
* | Copyright @ 2013-2023 Buession.com Inc. |
* +-------------------------------------------------------------------------------------------------------+
*/
package com.buession.httpclient;
import com.buession.core.utils.Assert;
import com.buession.httpclient.conn.ConnectionManager;
import com.buession.httpclient.core.Header;
import com.buession.httpclient.core.RequestBody;
import com.buession.httpclient.core.RequestMethod;
import com.buession.httpclient.core.concurrent.Callback;
import com.buession.httpclient.exception.RequestException;
import java.io.IOException;
import java.net.URI;
import java.net.URISyntaxException;
import java.net.URL;
import java.util.List;
import java.util.Map;
/**
* Http 异步客户端抽象类
*
* @author Yong.Teng
* @since 2.3.0
*/
public abstract class AbstractHttpAsyncClient extends AbstractBaseHttpClient implements HttpAsyncClient {
/**
* 构造函数
*/
public AbstractHttpAsyncClient() {
super();
}
/**
* 构造函数
*
* @param connectionManager
* 连接管理器
*/
public AbstractHttpAsyncClient(ConnectionManager connectionManager) {
super(connectionManager);
}
@Override
public void get(URI uri, Callback callback) throws IOException, RequestException {
get(uri, null, null, callback);
}
@Override
public void get(URL url, Callback callback) throws IOException, RequestException {
asyncExecute(()->get(URL2URI(url), null, null, callback));
}
@Override
public void get(URI uri, Map parameters, Callback callback) throws IOException, RequestException {
get(uri, parameters, null, callback);
}
@Override
public void get(URL url, Map parameters, Callback callback) throws IOException, RequestException {
asyncExecute(()->get(URL2URI(url), parameters, null, callback));
}
@Override
public void get(URI uri, List headers, Callback callback) throws IOException, RequestException {
get(uri, null, headers, callback);
}
@Override
public void get(URL url, List headers, Callback callback) throws IOException, RequestException {
asyncExecute(()->get(URL2URI(url), null, headers, callback));
}
@Override
public void get(URL url, Map parameters, List headers, Callback callback)
throws IOException, RequestException {
asyncExecute(()->get(URL2URI(url), parameters, headers, callback));
}
@Override
public void get(URI uri, int readTimeout, Callback callback) throws IOException, RequestException {
get(uri, readTimeout, null, null, callback);
}
@Override
public void get(URL url, int readTimeout, Callback callback) throws IOException, RequestException {
asyncExecute(()->get(URL2URI(url), readTimeout, null, null, callback));
}
@Override
public void get(URI uri, int readTimeout, Map parameters, Callback callback)
throws IOException, RequestException {
get(uri, readTimeout, parameters, null, callback);
}
@Override
public void get(URL url, int readTimeout, Map parameters, Callback callback)
throws IOException, RequestException {
asyncExecute(()->get(URL2URI(url), readTimeout, parameters, null, callback));
}
@Override
public void get(URI uri, int readTimeout, List headers, Callback callback) throws IOException,
RequestException {
get(uri, readTimeout, null, headers, callback);
}
@Override
public void get(URL url, int readTimeout, List headers, Callback callback) throws IOException,
RequestException {
asyncExecute(()->get(URL2URI(url), readTimeout, null, headers, callback));
}
@Override
public void get(URL url, int readTimeout, Map parameters, List headers,
Callback callback) throws IOException, RequestException {
asyncExecute(()->get(URL2URI(url), readTimeout, parameters, headers, callback));
}
@Override
public void post(URI uri, Callback callback) throws IOException, RequestException {
post(uri, null, null, null, callback);
}
@Override
public void post(URL url, Callback callback) throws IOException, RequestException {
asyncExecute(()->post(URL2URI(url), null, null, null, callback));
}
@Override
public void post(URI uri, Map parameters, Callback callback) throws IOException, RequestException {
post(uri, null, parameters, null, callback);
}
@Override
public void post(URL url, Map parameters, Callback callback) throws IOException, RequestException {
asyncExecute(()->post(URL2URI(url), null, parameters, null, callback));
}
@Override
public void post(URI uri, List headers, Callback callback) throws IOException, RequestException {
post(uri, null, null, headers, callback);
}
@Override
public void post(URL url, List headers, Callback callback) throws IOException, RequestException {
asyncExecute(()->post(URL2URI(url), null, null, headers, callback));
}
@Override
public void post(URI uri, Map parameters, List headers, Callback callback)
throws IOException, RequestException {
post(uri, null, parameters, headers, callback);
}
@Override
public void post(URL url, Map parameters, List headers, Callback callback)
throws IOException, RequestException {
asyncExecute(()->post(URL2URI(url), null, parameters, headers, callback));
}
@Override
public void post(URI uri, RequestBody> data, Callback callback) throws IOException, RequestException {
post(uri, data, null, null, callback);
}
@Override
public void post(URL url, RequestBody> data, Callback callback) throws IOException, RequestException {
asyncExecute(()->post(URL2URI(url), data, null, null, callback));
}
@Override
public void post(URI uri, RequestBody> data, Map parameters, Callback callback)
throws IOException, RequestException {
post(uri, data, parameters, null, callback);
}
@Override
public void post(URL url, RequestBody> data, Map parameters, Callback callback)
throws IOException, RequestException {
asyncExecute(()->post(URL2URI(url), data, parameters, null, callback));
}
@Override
public void post(URI uri, RequestBody> data, List headers, Callback callback)
throws IOException, RequestException {
post(uri, data, null, headers, callback);
}
@Override
public void post(URL url, RequestBody> data, List headers, Callback callback)
throws IOException, RequestException {
asyncExecute(()->post(URL2URI(url), data, null, headers, callback));
}
@Override
public void post(URL url, RequestBody> data, Map parameters, List headers,
Callback callback) throws IOException, RequestException {
asyncExecute(()->post(URL2URI(url), data, parameters, headers, callback));
}
@Override
public void post(URI uri, int readTimeout, Callback callback) throws IOException, RequestException {
post(uri, readTimeout, null, null, null, callback);
}
@Override
public void post(URL url, int readTimeout, Callback callback) throws IOException, RequestException {
asyncExecute(()->post(URL2URI(url), readTimeout, null, null, null, callback));
}
@Override
public void post(URI uri, int readTimeout, Map parameters, Callback callback)
throws IOException, RequestException {
post(uri, readTimeout, null, parameters, null, callback);
}
@Override
public void post(URL url, int readTimeout, Map parameters, Callback callback)
throws IOException, RequestException {
asyncExecute(()->post(URL2URI(url), readTimeout, null, parameters, null, callback));
}
@Override
public void post(URI uri, int readTimeout, List headers, Callback callback) throws IOException,
RequestException {
post(uri, readTimeout, null, null, headers, callback);
}
@Override
public void post(URL url, int readTimeout, List headers, Callback callback)
throws IOException, RequestException {
asyncExecute(()->post(URL2URI(url), readTimeout, null, null, headers, callback));
}
@Override
public void post(URI uri, int readTimeout, Map parameters, List headers,
Callback callback) throws IOException, RequestException {
post(uri, readTimeout, null, parameters, headers, callback);
}
@Override
public void post(URL url, int readTimeout, Map parameters, List headers,
Callback callback) throws IOException, RequestException {
asyncExecute(()->post(URL2URI(url), readTimeout, null, parameters, headers, callback));
}
@Override
public void post(URI uri, int readTimeout, RequestBody> data, Callback callback) throws IOException,
RequestException {
post(uri, readTimeout, data, null, null, callback);
}
@Override
public void post(URL url, int readTimeout, RequestBody> data, Callback callback) throws IOException,
RequestException {
asyncExecute(()->post(URL2URI(url), readTimeout, data, null, null, callback));
}
@Override
public void post(URI uri, int readTimeout, RequestBody> data, Map parameters,
Callback callback) throws IOException, RequestException {
post(uri, readTimeout, data, parameters, null, callback);
}
@Override
public void post(URL url, int readTimeout, RequestBody> data, Map parameters,
Callback callback) throws IOException, RequestException {
asyncExecute(()->post(URL2URI(url), readTimeout, data, parameters, null, callback));
}
@Override
public void post(URI uri, int readTimeout, RequestBody> data, List headers, Callback callback)
throws IOException, RequestException {
post(uri, readTimeout, data, null, headers, callback);
}
@Override
public void post(URL url, int readTimeout, RequestBody> data, List headers, Callback callback)
throws IOException, RequestException {
asyncExecute(()->post(URL2URI(url), readTimeout, data, null, headers, callback));
}
@Override
public void post(URL url, int readTimeout, RequestBody> data, Map parameters,
List headers, Callback callback) throws IOException, RequestException {
asyncExecute(()->post(URL2URI(url), readTimeout, data, parameters, headers, callback));
}
@Override
public void put(URI uri, Callback callback) throws IOException, RequestException {
put(uri, null, null, null, callback);
}
@Override
public void put(URL url, Callback callback) throws IOException, RequestException {
asyncExecute(()->put(URL2URI(url), null, null, null, callback));
}
@Override
public void put(URI uri, Map parameters, Callback callback) throws IOException, RequestException {
put(uri, null, parameters, null, callback);
}
@Override
public void put(URL url, Map parameters, Callback callback) throws IOException, RequestException {
asyncExecute(()->put(URL2URI(url), null, parameters, null, callback));
}
@Override
public void put(URI uri, List headers, Callback callback) throws IOException, RequestException {
put(uri, null, null, headers, callback);
}
@Override
public void put(URL url, List headers, Callback callback) throws IOException, RequestException {
asyncExecute(()->put(URL2URI(url), null, null, headers, callback));
}
@Override
public void put(URI uri, Map parameters, List headers, Callback callback)
throws IOException, RequestException {
put(uri, null, parameters, headers, callback);
}
@Override
public void put(URL url, Map parameters, List headers, Callback callback)
throws IOException, RequestException {
asyncExecute(()->put(URL2URI(url), null, parameters, headers, callback));
}
@Override
public void put(URI uri, RequestBody> data, Callback callback) throws IOException, RequestException {
put(uri, data, null, null, callback);
}
@Override
public void put(URL url, RequestBody> data, Callback callback) throws IOException, RequestException {
asyncExecute(()->put(URL2URI(url), data, null, null, callback));
}
@Override
public void put(URI uri, RequestBody> data, Map parameters, Callback callback)
throws IOException, RequestException {
put(uri, data, parameters, null, callback);
}
@Override
public void put(URL url, RequestBody> data, Map parameters, Callback callback)
throws IOException, RequestException {
asyncExecute(()->put(URL2URI(url), data, parameters, null, callback));
}
@Override
public void put(URI uri, RequestBody> data, List headers, Callback callback) throws IOException,
RequestException {
put(uri, data, null, headers, callback);
}
@Override
public void put(URL url, RequestBody> data, List headers, Callback callback) throws IOException,
RequestException {
asyncExecute(()->put(URL2URI(url), data, null, headers, callback));
}
@Override
public void put(URL url, RequestBody> data, Map parameters, List headers,
Callback callback) throws IOException, RequestException {
asyncExecute(()->put(URL2URI(url), data, parameters, headers, callback));
}
@Override
public void put(URI uri, int readTimeout, Callback callback) throws IOException, RequestException {
put(uri, readTimeout, null, null, null, callback);
}
@Override
public void put(URL url, int readTimeout, Callback callback) throws IOException, RequestException {
asyncExecute(()->put(URL2URI(url), readTimeout, null, null, null, callback));
}
@Override
public void put(URI uri, int readTimeout, Map parameters, Callback callback)
throws IOException, RequestException {
put(uri, readTimeout, null, parameters, null, callback);
}
@Override
public void put(URL url, int readTimeout, Map parameters, Callback callback)
throws IOException, RequestException {
asyncExecute(()->put(URL2URI(url), readTimeout, null, parameters, null, callback));
}
@Override
public void put(URI uri, int readTimeout, List headers, Callback callback) throws IOException,
RequestException {
put(uri, readTimeout, null, null, headers, callback);
}
@Override
public void put(URL url, int readTimeout, List headers, Callback callback) throws IOException,
RequestException {
asyncExecute(()->put(URL2URI(url), readTimeout, null, null, headers, callback));
}
@Override
public void put(URI uri, int readTimeout, Map parameters, List headers,
Callback callback) throws IOException, RequestException {
put(uri, readTimeout, parameters, headers, callback);
}
@Override
public void put(URL url, int readTimeout, Map parameters, List headers,
Callback callback) throws IOException, RequestException {
asyncExecute(()->put(URL2URI(url), readTimeout, parameters, headers, callback));
}
@Override
public void put(URI uri, int readTimeout, RequestBody> data, Callback callback) throws IOException,
RequestException {
put(uri, readTimeout, data, null, null, callback);
}
@Override
public void put(URL url, int readTimeout, RequestBody> data, Callback callback)
throws IOException, RequestException {
asyncExecute(()->put(URL2URI(url), readTimeout, data, null, null, callback));
}
@Override
public void put(URI uri, int readTimeout, RequestBody> data, Map parameters,
Callback callback) throws IOException, RequestException {
put(uri, readTimeout, data, parameters, null, callback);
}
@Override
public void put(URL url, int readTimeout, RequestBody> data, Map parameters,
Callback callback) throws IOException, RequestException {
asyncExecute(()->put(URL2URI(url), readTimeout, data, parameters, null, callback));
}
@Override
public void put(URI uri, int readTimeout, RequestBody> data, List headers, Callback callback)
throws IOException, RequestException {
put(uri, readTimeout, data, null, headers, callback);
}
@Override
public void put(URL url, int readTimeout, RequestBody> data, List headers, Callback callback)
throws IOException, RequestException {
asyncExecute(()->put(URL2URI(url), readTimeout, data, null, headers, callback));
}
@Override
public void put(URL url, int readTimeout, RequestBody> data, Map parameters,
List headers, Callback callback) throws IOException, RequestException {
asyncExecute(()->put(URL2URI(url), readTimeout, data, parameters, headers, callback));
}
@Override
public void patch(URI uri, Callback callback) throws IOException, RequestException {
patch(uri, null, null, null, callback);
}
@Override
public void patch(URL url, Callback callback) throws IOException, RequestException {
asyncExecute(()->patch(URL2URI(url), null, null, null, callback));
}
@Override
public void patch(URI uri, Map parameters, Callback callback) throws IOException, RequestException {
patch(uri, null, parameters, null, callback);
}
@Override
public void patch(URL url, Map parameters, Callback callback) throws IOException, RequestException {
asyncExecute(()->patch(URL2URI(url), null, parameters, null, callback));
}
@Override
public void patch(URI uri, List headers, Callback callback) throws IOException, RequestException {
patch(uri, null, null, headers, callback);
}
@Override
public void patch(URL url, List headers, Callback callback) throws IOException, RequestException {
asyncExecute(()->patch(URL2URI(url), null, null, headers, callback));
}
@Override
public void patch(URI uri, Map parameters, List headers, Callback callback)
throws IOException, RequestException {
patch(uri, null, parameters, headers, callback);
}
@Override
public void patch(URL url, Map parameters, List headers, Callback callback)
throws IOException, RequestException {
asyncExecute(()->patch(URL2URI(url), null, parameters, headers, callback));
}
@Override
public void patch(URI uri, RequestBody> data, Callback callback) throws IOException, RequestException {
patch(uri, data, null, null, callback);
}
@Override
public void patch(URL url, RequestBody> data, Callback callback) throws IOException, RequestException {
asyncExecute(()->patch(URL2URI(url), data, null, null, callback));
}
@Override
public void patch(URI uri, RequestBody> data, Map parameters, Callback callback)
throws IOException, RequestException {
patch(uri, data, parameters, null, callback);
}
@Override
public void patch(URL url, RequestBody> data, Map parameters, Callback callback)
throws IOException, RequestException {
asyncExecute(()->patch(URL2URI(url), data, parameters, null, callback));
}
@Override
public void patch(URI uri, RequestBody> data, List headers, Callback callback) throws IOException,
RequestException {
patch(uri, data, null, headers, callback);
}
@Override
public void patch(URL url, RequestBody> data, List headers, Callback callback) throws IOException,
RequestException {
asyncExecute(()->patch(URL2URI(url), data, null, headers, callback));
}
@Override
public void patch(URL url, RequestBody> data, Map parameters, List headers,
Callback callback) throws IOException, RequestException {
asyncExecute(()->patch(URL2URI(url), data, parameters, headers, callback));
}
@Override
public void patch(URI uri, int readTimeout, Callback callback) throws IOException, RequestException {
patch(uri, readTimeout, null, null, null, callback);
}
@Override
public void patch(URL url, int readTimeout, Callback callback) throws IOException, RequestException {
asyncExecute(()->patch(URL2URI(url), readTimeout, null, null, null, callback));
}
@Override
public void patch(URI uri, int readTimeout, Map parameters, Callback callback)
throws IOException, RequestException {
patch(uri, readTimeout, null, parameters, null, callback);
}
@Override
public void patch(URL url, int readTimeout, Map parameters, Callback callback)
throws IOException, RequestException {
asyncExecute(()->patch(URL2URI(url), readTimeout, null, parameters, null, callback));
}
@Override
public void patch(URI uri, int readTimeout, List headers, Callback callback) throws IOException,
RequestException {
patch(uri, readTimeout, null, null, headers, callback);
}
@Override
public void patch(URL url, int readTimeout, List headers, Callback callback) throws IOException,
RequestException {
asyncExecute(()->patch(URL2URI(url), readTimeout, null, null, headers, callback));
}
@Override
public void patch(URI uri, int readTimeout, Map parameters, List headers,
Callback callback) throws IOException, RequestException {
patch(uri, readTimeout, null, parameters, headers, callback);
}
@Override
public void patch(URL url, int readTimeout, Map parameters, List headers,
Callback callback) throws IOException, RequestException {
asyncExecute(()->patch(URL2URI(url), readTimeout, null, parameters, headers, callback));
}
@Override
public void patch(URI uri, int readTimeout, RequestBody> data, Callback callback)
throws IOException, RequestException {
patch(uri, readTimeout, data, null, null, callback);
}
@Override
public void patch(URL url, int readTimeout, RequestBody> data, Callback callback)
throws IOException, RequestException {
asyncExecute(()->patch(URL2URI(url), readTimeout, data, null, null, callback));
}
@Override
public void patch(URI uri, int readTimeout, RequestBody> data, Map parameters,
Callback callback) throws IOException, RequestException {
patch(uri, readTimeout, data, parameters, null, callback);
}
@Override
public void patch(URL url, int readTimeout, RequestBody> data, Map parameters,
Callback callback) throws IOException, RequestException {
asyncExecute(()->patch(URL2URI(url), readTimeout, data, parameters, null, callback));
}
@Override
public void patch(URI uri, int readTimeout, RequestBody> data, List headers, Callback callback)
throws IOException, RequestException {
patch(uri, readTimeout, data, null, headers, callback);
}
@Override
public void patch(URL url, int readTimeout, RequestBody> data, List headers, Callback callback)
throws IOException, RequestException {
asyncExecute(()->patch(URL2URI(url), readTimeout, data, null, headers, callback));
}
@Override
public void patch(URL url, int readTimeout, RequestBody> data, Map parameters,
List headers, Callback callback) throws IOException, RequestException {
asyncExecute(()->patch(URL2URI(url), readTimeout, data, parameters, headers, callback));
}
@Override
public void delete(URI uri, Callback callback) throws IOException, RequestException {
delete(uri, null, null, callback);
}
@Override
public void delete(URL url, Callback callback) throws IOException, RequestException {
asyncExecute(()->delete(URL2URI(url), null, null, callback));
}
@Override
public void delete(URI uri, Map parameters, Callback callback)
throws IOException, RequestException {
delete(uri, parameters, null, callback);
}
@Override
public void delete(URL url, Map parameters, Callback callback)
throws IOException, RequestException {
asyncExecute(()->delete(URL2URI(url), parameters, null, callback));
}
@Override
public void delete(URI uri, List headers, Callback callback) throws IOException, RequestException {
delete(uri, null, headers, callback);
}
@Override
public void delete(URL url, List headers, Callback callback) throws IOException, RequestException {
asyncExecute(()->delete(URL2URI(url), null, headers, callback));
}
@Override
public void delete(URL url, Map parameters, List headers, Callback callback)
throws IOException, RequestException {
asyncExecute(()->delete(URL2URI(url), parameters, headers, callback));
}
@Override
public void delete(URI uri, int readTimeout, Callback callback) throws IOException, RequestException {
delete(uri, readTimeout, null, null, callback);
}
@Override
public void delete(URL url, int readTimeout, Callback callback) throws IOException, RequestException {
asyncExecute(()->delete(URL2URI(url), readTimeout, null, null, callback));
}
@Override
public void delete(URI uri, int readTimeout, Map parameters, Callback callback)
throws IOException, RequestException {
delete(uri, readTimeout, parameters, null, callback);
}
@Override
public void delete(URL url, int readTimeout, Map parameters, Callback callback)
throws IOException, RequestException {
asyncExecute(()->delete(URL2URI(url), readTimeout, parameters, null, callback));
}
@Override
public void delete(URI uri, int readTimeout, List headers, Callback callback) throws IOException,
RequestException {
delete(uri, readTimeout, null, headers, callback);
}
@Override
public void delete(URL url, int readTimeout, List headers, Callback callback) throws IOException,
RequestException {
asyncExecute(()->delete(URL2URI(url), readTimeout, null, headers, callback));
}
@Override
public void delete(URL url, int readTimeout, Map parameters, List headers,
Callback callback) throws IOException, RequestException {
asyncExecute(()->delete(URL2URI(url), readTimeout, parameters, headers, callback));
}
@Override
public void connect(URI uri, Callback callback) throws IOException, RequestException {
connect(uri, null, null, callback);
}
@Override
public void connect(URL url, Callback callback) throws IOException, RequestException {
asyncExecute(()->connect(URL2URI(url), null, null, callback));
}
@Override
public void connect(URI uri, Map parameters, Callback callback) throws IOException,
RequestException {
connect(uri, parameters, null, callback);
}
@Override
public void connect(URL url, Map parameters, Callback callback) throws IOException,
RequestException {
asyncExecute(()->connect(URL2URI(url), parameters, null, callback));
}
@Override
public void connect(URI uri, List headers, Callback callback) throws IOException, RequestException {
connect(uri, null, headers, callback);
}
@Override
public void connect(URL url, List headers, Callback callback) throws IOException, RequestException {
asyncExecute(()->connect(URL2URI(url), null, headers, callback));
}
@Override
public void connect(URL url, Map parameters, List headers, Callback callback)
throws IOException, RequestException {
asyncExecute(()->connect(URL2URI(url), parameters, headers, callback));
}
@Override
public void connect(URI uri, int readTimeout, Callback callback) throws IOException, RequestException {
connect(uri, readTimeout, null, null, callback);
}
@Override
public void connect(URL url, int readTimeout, Callback callback) throws IOException, RequestException {
asyncExecute(()->connect(URL2URI(url), readTimeout, null, null, callback));
}
@Override
public void connect(URI uri, int readTimeout, Map parameters, Callback callback)
throws IOException, RequestException {
connect(uri, readTimeout, parameters, null, callback);
}
@Override
public void connect(URL url, int readTimeout, Map parameters, Callback callback)
throws IOException, RequestException {
asyncExecute(()->connect(URL2URI(url), readTimeout, parameters, null, callback));
}
@Override
public void connect(URI uri, int readTimeout, List headers, Callback callback) throws IOException,
RequestException {
connect(uri, readTimeout, null, headers, callback);
}
@Override
public void connect(URL url, int readTimeout, List headers, Callback callback) throws IOException,
RequestException {
asyncExecute(()->connect(URL2URI(url), readTimeout, null, headers, callback));
}
@Override
public void connect(URL url, int readTimeout, Map parameters, List headers,
Callback callback) throws IOException, RequestException {
asyncExecute(()->connect(URL2URI(url), readTimeout, parameters, headers, callback));
}
@Override
public void trace(URI uri, Callback callback) throws IOException, RequestException {
trace(uri, null, null, callback);
}
@Override
public void trace(URL url, Callback callback) throws IOException, RequestException {
asyncExecute(()->trace(URL2URI(url), null, null, callback));
}
@Override
public void trace(URI uri, Map parameters, Callback callback) throws IOException, RequestException {
trace(uri, parameters, null, callback);
}
@Override
public void trace(URL url, Map parameters, Callback callback) throws IOException, RequestException {
asyncExecute(()->trace(URL2URI(url), parameters, null, callback));
}
@Override
public void trace(URI uri, List headers, Callback callback) throws IOException, RequestException {
trace(uri, null, headers, callback);
}
@Override
public void trace(URL url, List headers, Callback callback) throws IOException, RequestException {
asyncExecute(()->trace(URL2URI(url), null, headers, callback));
}
@Override
public void trace(URL url, Map parameters, List headers, Callback callback)
throws IOException, RequestException {
asyncExecute(()->trace(URL2URI(url), parameters, headers, callback));
}
@Override
public void trace(URI uri, int readTimeout, Callback callback) throws IOException, RequestException {
trace(uri, readTimeout, null, null, callback);
}
@Override
public void trace(URL url, int readTimeout, Callback callback) throws IOException, RequestException {
asyncExecute(()->trace(URL2URI(url), readTimeout, null, null, callback));
}
@Override
public void trace(URI uri, int readTimeout, Map parameters, Callback callback)
throws IOException, RequestException {
trace(uri, readTimeout, parameters, null, callback);
}
@Override
public void trace(URL url, int readTimeout, Map parameters, Callback callback)
throws IOException, RequestException {
asyncExecute(()->trace(URL2URI(url), readTimeout, parameters, null, callback));
}
@Override
public void trace(URI uri, int readTimeout, List headers, Callback callback) throws IOException,
RequestException {
trace(uri, readTimeout, null, headers, callback);
}
@Override
public void trace(URL url, int readTimeout, List headers, Callback callback) throws IOException,
RequestException {
asyncExecute(()->trace(URL2URI(url), readTimeout, null, headers, callback));
}
@Override
public void trace(URL url, int readTimeout, Map parameters, List headers,
Callback callback) throws IOException, RequestException {
asyncExecute(()->trace(URL2URI(url), readTimeout, parameters, headers, callback));
}
@Override
public void copy(URI uri, Callback callback) throws IOException, RequestException {
copy(uri, null, null, callback);
}
@Override
public void copy(URL url, Callback callback) throws IOException, RequestException {
asyncExecute(()->copy(URL2URI(url), null, null, callback));
}
@Override
public void copy(URI uri, Map parameters, Callback callback) throws IOException, RequestException {
copy(uri, parameters, null, callback);
}
@Override
public void copy(URL url, Map parameters, Callback callback) throws IOException, RequestException {
asyncExecute(()->copy(URL2URI(url), parameters, null, callback));
}
@Override
public void copy(URI uri, List headers, Callback callback) throws IOException, RequestException {
copy(uri, null, headers, callback);
}
@Override
public void copy(URL url, List headers, Callback callback) throws IOException, RequestException {
asyncExecute(()->copy(URL2URI(url), null, headers, callback));
}
@Override
public void copy(URL url, Map parameters, List headers, Callback callback)
throws IOException, RequestException {
asyncExecute(()->copy(URL2URI(url), parameters, headers, callback));
}
@Override
public void copy(URI uri, int readTimeout, Callback callback) throws IOException, RequestException {
copy(uri, readTimeout, null, null, callback);
}
@Override
public void copy(URL url, int readTimeout, Callback callback) throws IOException, RequestException {
asyncExecute(()->copy(URL2URI(url), readTimeout, null, null, callback));
}
@Override
public void copy(URI uri, int readTimeout, Map parameters, Callback callback)
throws IOException, RequestException {
copy(uri, readTimeout, parameters, null, callback);
}
@Override
public void copy(URL url, int readTimeout, Map parameters, Callback callback)
throws IOException, RequestException {
asyncExecute(()->copy(URL2URI(url), readTimeout, parameters, null, callback));
}
@Override
public void copy(URI uri, int readTimeout, List headers, Callback callback) throws IOException,
RequestException {
copy(uri, readTimeout, null, headers, callback);
}
@Override
public void copy(URL url, int readTimeout, List headers, Callback callback) throws IOException,
RequestException {
asyncExecute(()->copy(URL2URI(url), readTimeout, null, headers, callback));
}
@Override
public void copy(URL url, int readTimeout, Map parameters, List headers,
Callback callback) throws IOException, RequestException {
asyncExecute(()->copy(URL2URI(url), readTimeout, parameters, headers, callback));
}
@Override
public void move(URI uri, Callback callback) throws IOException, RequestException {
move(uri, null, null, callback);
}
@Override
public void move(URL url, Callback callback) throws IOException, RequestException {
asyncExecute(()->move(URL2URI(url), null, null, callback));
}
@Override
public void move(URI uri, Map parameters, Callback callback) throws IOException, RequestException {
move(uri, parameters, null, callback);
}
@Override
public void move(URL url, Map parameters, Callback callback) throws IOException, RequestException {
asyncExecute(()->move(URL2URI(url), parameters, null, callback));
}
@Override
public void move(URI uri, List headers, Callback callback) throws IOException, RequestException {
move(uri, null, headers, callback);
}
@Override
public void move(URL url, List headers, Callback callback) throws IOException, RequestException {
asyncExecute(()->move(URL2URI(url), null, headers, callback));
}
@Override
public void move(URL url, Map parameters, List headers, Callback callback)
throws IOException, RequestException {
asyncExecute(()->move(URL2URI(url), parameters, headers, callback));
}
@Override
public void move(URI uri, int readTimeout, Callback callback) throws IOException, RequestException {
move(uri, readTimeout, null, null, callback);
}
@Override
public void move(URL url, int readTimeout, Callback callback) throws IOException, RequestException {
asyncExecute(()->move(URL2URI(url), readTimeout, null, null, callback));
}
@Override
public void move(URI uri, int readTimeout, Map parameters, Callback callback)
throws IOException, RequestException {
move(uri, readTimeout, parameters, null, callback);
}
@Override
public void move(URL url, int readTimeout, Map parameters, Callback callback)
throws IOException, RequestException {
asyncExecute(()->move(URL2URI(url), readTimeout, parameters, null, callback));
}
@Override
public void move(URI uri, int readTimeout, List headers, Callback callback)
throws IOException, RequestException {
move(uri, readTimeout, null, headers, callback);
}
@Override
public void move(URL url, int readTimeout, List headers, Callback callback)
throws IOException, RequestException {
asyncExecute(()->move(URL2URI(url), readTimeout, null, headers, callback));
}
@Override
public void move(URL url, int readTimeout, Map parameters, List headers,
Callback callback) throws IOException, RequestException {
asyncExecute(()->move(URL2URI(url), readTimeout, parameters, headers, callback));
}
@Override
public void head(URI uri, Callback callback) throws IOException, RequestException {
head(uri, null, null, callback);
}
@Override
public void head(URL url, Callback callback) throws IOException, RequestException {
asyncExecute(()->head(URL2URI(url), null, null, callback));
}
@Override
public void head(URI uri, Map parameters, Callback callback) throws IOException, RequestException {
head(uri, parameters, null, callback);
}
@Override
public void head(URL url, Map parameters, Callback callback) throws IOException, RequestException {
asyncExecute(()->head(URL2URI(url), parameters, null, callback));
}
@Override
public void head(URI uri, List headers, Callback callback) throws IOException, RequestException {
head(uri, null, headers, callback);
}
@Override
public void head(URL url, List headers, Callback callback) throws IOException, RequestException {
asyncExecute(()->head(URL2URI(url), null, headers, callback));
}
@Override
public void head(URL url, Map parameters, List headers, Callback callback)
throws IOException, RequestException {
asyncExecute(()->head(URL2URI(url), parameters, headers, callback));
}
@Override
public void head(URI uri, int readTimeout, Callback callback) throws IOException, RequestException {
head(uri, readTimeout, null, null, callback);
}
@Override
public void head(URL url, int readTimeout, Callback callback) throws IOException, RequestException {
asyncExecute(()->head(URL2URI(url), readTimeout, null, null, callback));
}
@Override
public void head(URI uri, int readTimeout, Map parameters, Callback callback)
throws IOException, RequestException {
head(uri, readTimeout, parameters, null, callback);
}
@Override
public void head(URL url, int readTimeout, Map parameters, Callback callback)
throws IOException, RequestException {
asyncExecute(()->head(URL2URI(url), readTimeout, parameters, null, callback));
}
@Override
public void head(URI uri, int readTimeout, List headers, Callback callback) throws IOException,
RequestException {
head(uri, readTimeout, null, headers, callback);
}
@Override
public void head(URL url, int readTimeout, List headers, Callback callback) throws IOException,
RequestException {
asyncExecute(()->head(URL2URI(url), readTimeout, null, headers, callback));
}
@Override
public void head(URL url, int readTimeout, Map parameters, List headers,
Callback callback) throws IOException, RequestException {
asyncExecute(()->head(URL2URI(url), readTimeout, parameters, headers, callback));
}
@Override
public void options(URI uri, Callback callback) throws IOException, RequestException {
options(uri, null, null, callback);
}
@Override
public void options(URL url, Callback callback) throws IOException, RequestException {
asyncExecute(()->options(URL2URI(url), null, null, callback));
}
@Override
public void options(URI uri, Map parameters, Callback callback) throws IOException,
RequestException {
options(uri, parameters, null, callback);
}
@Override
public void options(URL url, Map parameters, Callback callback) throws IOException,
RequestException {
asyncExecute(()->options(URL2URI(url), parameters, null, callback));
}
@Override
public void options(URI uri, List headers, Callback callback) throws IOException, RequestException {
options(uri, null, headers, callback);
}
@Override
public void options(URL url, List headers, Callback callback) throws IOException, RequestException {
asyncExecute(()->options(URL2URI(url), null, headers, callback));
}
@Override
public void options(URL url, Map parameters, List headers, Callback callback)
throws IOException, RequestException {
asyncExecute(()->options(URL2URI(url), parameters, headers, callback));
}
@Override
public void options(URI uri, int readTimeout, Callback callback) throws IOException, RequestException {
options(uri, readTimeout, null, null, callback);
}
@Override
public void options(URL url, int readTimeout, Callback callback) throws IOException, RequestException {
asyncExecute(()->options(URL2URI(url), readTimeout, null, null, callback));
}
@Override
public void options(URI uri, int readTimeout, Map parameters, Callback callback)
throws IOException, RequestException {
options(uri, readTimeout, parameters, null, callback);
}
@Override
public void options(URL url, int readTimeout, Map parameters, Callback callback)
throws IOException, RequestException {
asyncExecute(()->options(URL2URI(url), readTimeout, parameters, null, callback));
}
@Override
public void options(URI uri, int readTimeout, List headers, Callback callback) throws IOException,
RequestException {
options(uri, readTimeout, null, headers, callback);
}
@Override
public void options(URL url, int readTimeout, List headers, Callback callback) throws IOException,
RequestException {
asyncExecute(()->options(URL2URI(url), readTimeout, null, headers, callback));
}
@Override
public void options(URL url, int readTimeout, Map parameters, List headers,
Callback callback) throws IOException, RequestException {
asyncExecute(()->options(URL2URI(url), readTimeout, parameters, headers, callback));
}
@Override
public void link(URI uri, Callback callback) throws IOException, RequestException {
link(uri, null, null, callback);
}
@Override
public void link(URL url, Callback callback) throws IOException, RequestException {
asyncExecute(()->link(URL2URI(url), null, null, callback));
}
@Override
public void link(URI uri, Map parameters, Callback callback) throws IOException, RequestException {
link(uri, parameters, null, callback);
}
@Override
public void link(URL url, Map parameters, Callback callback) throws IOException, RequestException {
asyncExecute(()->link(URL2URI(url), parameters, null, callback));
}
@Override
public void link(URI uri, List headers, Callback callback) throws IOException, RequestException {
link(uri, null, headers, callback);
}
@Override
public void link(URL url, List headers, Callback callback) throws IOException, RequestException {
asyncExecute(()->link(URL2URI(url), null, headers, callback));
}
@Override
public void link(URL url, Map parameters, List headers, Callback callback)
throws IOException, RequestException {
asyncExecute(()->link(URL2URI(url), parameters, headers, callback));
}
@Override
public void link(URI uri, int readTimeout, Callback callback) throws IOException, RequestException {
link(uri, readTimeout, null, null, callback);
}
@Override
public void link(URL url, int readTimeout, Callback callback) throws IOException, RequestException {
asyncExecute(()->link(URL2URI(url), readTimeout, null, null, callback));
}
@Override
public void link(URI uri, int readTimeout, Map parameters, Callback callback)
throws IOException, RequestException {
link(uri, readTimeout, parameters, null, callback);
}
@Override
public void link(URL url, int readTimeout, Map parameters, Callback callback)
throws IOException, RequestException {
asyncExecute(()->link(URL2URI(url), readTimeout, parameters, null, callback));
}
@Override
public void link(URI uri, int readTimeout, List headers, Callback callback) throws IOException,
RequestException {
link(uri, readTimeout, null, headers, callback);
}
@Override
public void link(URL url, int readTimeout, List headers, Callback callback) throws IOException,
RequestException {
asyncExecute(()->link(URL2URI(url), readTimeout, null, headers, callback));
}
@Override
public void link(URL url, int readTimeout, Map parameters, List headers,
Callback callback) throws IOException, RequestException {
asyncExecute(()->link(URL2URI(url), readTimeout, parameters, headers, callback));
}
@Override
public void unlink(URI uri, Callback callback) throws IOException, RequestException {
unlink(uri, null, null, callback);
}
@Override
public void unlink(URL url, Callback callback) throws IOException, RequestException {
asyncExecute(()->unlink(URL2URI(url), null, null, callback));
}
@Override
public void unlink(URI uri, Map parameters, Callback callback)
throws IOException, RequestException {
unlink(uri, parameters, null, callback);
}
@Override
public void unlink(URL url, Map parameters, Callback callback)
throws IOException, RequestException {
asyncExecute(()->unlink(URL2URI(url), parameters, null, callback));
}
@Override
public void unlink(URI uri, List headers, Callback callback) throws IOException, RequestException {
unlink(uri, null, headers, callback);
}
@Override
public void unlink(URL url, List headers, Callback callback) throws IOException, RequestException {
asyncExecute(()->unlink(URL2URI(url), null, headers, callback));
}
@Override
public void unlink(URL url, Map parameters, List headers, Callback callback)
throws IOException, RequestException {
asyncExecute(()->unlink(URL2URI(url), parameters, headers, callback));
}
@Override
public void unlink(URI uri, int readTimeout, Callback callback) throws IOException, RequestException {
unlink(uri, readTimeout, null, null, callback);
}
@Override
public void unlink(URL url, int readTimeout, Callback callback) throws IOException, RequestException {
asyncExecute(()->unlink(URL2URI(url), readTimeout, null, null, callback));
}
@Override
public void unlink(URI uri, int readTimeout, Map parameters, Callback callback)
throws IOException, RequestException {
unlink(uri, readTimeout, parameters, null, callback);
}
@Override
public void unlink(URL url, int readTimeout, Map parameters, Callback callback)
throws IOException, RequestException {
asyncExecute(()->unlink(URL2URI(url), readTimeout, parameters, null, callback));
}
@Override
public void unlink(URI uri, int readTimeout, List headers, Callback callback) throws IOException,
RequestException {
unlink(uri, readTimeout, null, headers, callback);
}
@Override
public void unlink(URL url, int readTimeout, List headers, Callback callback) throws IOException,
RequestException {
asyncExecute(()->unlink(URL2URI(url), readTimeout, null, headers, callback));
}
@Override
public void unlink(URL url, int readTimeout, Map parameters, List headers,
Callback callback) throws IOException, RequestException {
asyncExecute(()->unlink(URL2URI(url), readTimeout, parameters, headers, callback));
}
@Override
public void purge(URI uri, Callback callback) throws IOException, RequestException {
purge(uri, null, null, callback);
}
@Override
public void purge(URL url, Callback callback) throws IOException, RequestException {
asyncExecute(()->purge(URL2URI(url), null, null, callback));
}
@Override
public void purge(URI uri, Map parameters, Callback callback) throws IOException, RequestException {
purge(uri, parameters, null, callback);
}
@Override
public void purge(URL url, Map parameters, Callback callback) throws IOException, RequestException {
asyncExecute(()->purge(URL2URI(url), parameters, null, callback));
}
@Override
public void purge(URI uri, List headers, Callback callback) throws IOException, RequestException {
purge(uri, null, headers, callback);
}
@Override
public void purge(URL url, List headers, Callback callback) throws IOException, RequestException {
asyncExecute(()->purge(URL2URI(url), null, headers, callback));
}
@Override
public void purge(URL url, Map parameters, List headers, Callback callback)
throws IOException, RequestException {
asyncExecute(()->purge(URL2URI(url), parameters, headers, callback));
}
@Override
public void purge(URI uri, int readTimeout, Callback callback) throws IOException, RequestException {
purge(uri, readTimeout, null, null, callback);
}
@Override
public void purge(URL url, int readTimeout, Callback callback) throws IOException, RequestException {
asyncExecute(()->purge(URL2URI(url), readTimeout, null, null, callback));
}
@Override
public void purge(URI uri, int readTimeout, Map parameters, Callback callback)
throws IOException, RequestException {
purge(uri, readTimeout, parameters, null, callback);
}
@Override
public void purge(URL url, int readTimeout, Map parameters, Callback callback)
throws IOException, RequestException {
asyncExecute(()->purge(URL2URI(url), readTimeout, parameters, null, callback));
}
@Override
public void purge(URI uri, int readTimeout, List headers, Callback callback)
throws IOException, RequestException {
purge(uri, readTimeout, null, headers, callback);
}
@Override
public void purge(URL url, int readTimeout, List headers, Callback callback)
throws IOException, RequestException {
asyncExecute(()->purge(URL2URI(url), readTimeout, null, headers, callback));
}
@Override
public void purge(URL url, int readTimeout, Map parameters, List headers,
Callback callback) throws IOException, RequestException {
asyncExecute(()->purge(URL2URI(url), readTimeout, parameters, headers, callback));
}
@Override
public void lock(URI uri, Callback callback) throws IOException, RequestException {
lock(uri, null, null, callback);
}
@Override
public void lock(URL url, Callback callback) throws IOException, RequestException {
asyncExecute(()->lock(URL2URI(url), null, null, callback));
}
@Override
public void lock(URI uri, Map parameters, Callback callback) throws IOException, RequestException {
lock(uri, parameters, null, callback);
}
@Override
public void lock(URL url, Map parameters, Callback callback) throws IOException, RequestException {
asyncExecute(()->lock(URL2URI(url), parameters, null, callback));
}
@Override
public void lock(URI uri, List headers, Callback callback) throws IOException, RequestException {
lock(uri, null, headers, callback);
}
@Override
public void lock(URL url, List headers, Callback callback) throws IOException, RequestException {
asyncExecute(()->lock(URL2URI(url), null, headers, callback));
}
@Override
public void lock(URL url, Map parameters, List headers, Callback callback)
throws IOException, RequestException {
asyncExecute(()->lock(URL2URI(url), parameters, headers, callback));
}
@Override
public void lock(URI uri, int readTimeout, Callback callback) throws IOException, RequestException {
lock(uri, readTimeout, null, null, callback);
}
@Override
public void lock(URL url, int readTimeout, Callback callback) throws IOException, RequestException {
asyncExecute(()->lock(URL2URI(url), readTimeout, null, null, callback));
}
@Override
public void lock(URI uri, int readTimeout, Map parameters, Callback callback)
throws IOException, RequestException {
lock(uri, readTimeout, parameters, null, callback);
}
@Override
public void lock(URL url, int readTimeout, Map parameters, Callback callback)
throws IOException, RequestException {
asyncExecute(()->lock(URL2URI(url), readTimeout, parameters, null, callback));
}
@Override
public void lock(URI uri, int readTimeout, List headers, Callback callback) throws IOException,
RequestException {
lock(uri, readTimeout, null, headers, callback);
}
@Override
public void lock(URL url, int readTimeout, List headers, Callback callback) throws IOException,
RequestException {
asyncExecute(()->lock(URL2URI(url), readTimeout, null, headers, callback));
}
@Override
public void lock(URL url, int readTimeout, Map parameters, List headers,
Callback callback) throws IOException, RequestException {
asyncExecute(()->lock(URL2URI(url), readTimeout, parameters, headers, callback));
}
@Override
public void unlock(URI uri, Callback callback) throws IOException, RequestException {
unlock(uri, null, null, callback);
}
@Override
public void unlock(URL url, Callback callback) throws IOException, RequestException {
asyncExecute(()->unlock(URL2URI(url), null, null, callback));
}
@Override
public void unlock(URI uri, Map parameters, Callback callback)
throws IOException, RequestException {
unlock(uri, parameters, null, callback);
}
@Override
public void unlock(URL url, Map parameters, Callback callback)
throws IOException, RequestException {
asyncExecute(()->unlock(URL2URI(url), parameters, null, callback));
}
@Override
public void unlock(URI uri, List headers, Callback callback) throws IOException, RequestException {
unlock(uri, null, headers, callback);
}
@Override
public void unlock(URL url, List headers, Callback callback) throws IOException, RequestException {
asyncExecute(()->unlock(URL2URI(url), null, headers, callback));
}
@Override
public void unlock(URL url, Map parameters, List headers, Callback callback)
throws IOException, RequestException {
asyncExecute(()->unlock(URL2URI(url), parameters, headers, callback));
}
@Override
public void unlock(URI uri, int readTimeout, Callback callback) throws IOException, RequestException {
unlock(uri, readTimeout, null, null, callback);
}
@Override
public void unlock(URL url, int readTimeout, Callback callback) throws IOException, RequestException {
asyncExecute(()->unlock(URL2URI(url), readTimeout, null, null, callback));
}
@Override
public void unlock(URI uri, int readTimeout, Map parameters, Callback callback)
throws IOException, RequestException {
unlock(uri, readTimeout, parameters, null, callback);
}
@Override
public void unlock(URL url, int readTimeout, Map parameters, Callback callback)
throws IOException, RequestException {
asyncExecute(()->unlock(URL2URI(url), readTimeout, parameters, null, callback));
}
@Override
public void unlock(URI uri, int readTimeout, List headers, Callback callback) throws IOException,
RequestException {
unlock(uri, readTimeout, null, headers, callback);
}
@Override
public void unlock(URL url, int readTimeout, List headers, Callback callback) throws IOException,
RequestException {
asyncExecute(()->unlock(URL2URI(url), readTimeout, null, headers, callback));
}
@Override
public void unlock(URL url, int readTimeout, Map parameters, List headers,
Callback callback) throws IOException, RequestException {
asyncExecute(()->unlock(URL2URI(url), readTimeout, parameters, headers, callback));
}
@Override
public void propfind(URI uri, Callback callback) throws IOException, RequestException {
propfind(uri, null, null, callback);
}
@Override
public void propfind(URL url, Callback callback) throws IOException, RequestException {
asyncExecute(()->propfind(URL2URI(url), null, null, callback));
}
@Override
public void propfind(URI uri, Map parameters, Callback callback) throws IOException,
RequestException {
propfind(uri, parameters, null, callback);
}
@Override
public void propfind(URL url, Map parameters, Callback callback) throws IOException,
RequestException {
asyncExecute(()->propfind(URL2URI(url), parameters, null, callback));
}
@Override
public void propfind(URI uri, List headers, Callback callback) throws IOException, RequestException {
propfind(uri, null, headers, callback);
}
@Override
public void propfind(URL url, List headers, Callback callback) throws IOException, RequestException {
asyncExecute(()->propfind(URL2URI(url), null, headers, callback));
}
@Override
public void propfind(URL url, Map parameters, List headers, Callback callback)
throws IOException, RequestException {
asyncExecute(()->propfind(URL2URI(url), parameters, headers, callback));
}
@Override
public void propfind(URI uri, int readTimeout, Callback callback) throws IOException, RequestException {
propfind(uri, readTimeout, null, null, callback);
}
@Override
public void propfind(URL url, int readTimeout, Callback callback) throws IOException, RequestException {
asyncExecute(()->propfind(URL2URI(url), readTimeout, null, null, callback));
}
@Override
public void propfind(URI uri, int readTimeout, Map parameters, Callback callback)
throws IOException, RequestException {
propfind(uri, readTimeout, parameters, null, callback);
}
@Override
public void propfind(URL url, int readTimeout, Map parameters, Callback callback)
throws IOException, RequestException {
asyncExecute(()->propfind(URL2URI(url), readTimeout, parameters, null, callback));
}
@Override
public void propfind(URI uri, int readTimeout, List headers, Callback callback) throws IOException,
RequestException {
propfind(uri, readTimeout, null, headers, callback);
}
@Override
public void propfind(URL url, int readTimeout, List