blob: d3a4c2c0adf98b34f306e59f9661ffedfa57b60e [file] [log] [blame]
/*******************************************************************************
* Copyright (c) 2006, 2010 Steffen Pingel and others.
*
* This program and the accompanying materials are made available under the
* terms of the Eclipse Public License v. 2.0 which is available at
* https://www.eclipse.org/legal/epl-2.0
*
* SPDX-License-Identifier: EPL-2.0
*
* Steffen Pingel - initial API and implementation
*******************************************************************************/
package org.eclipse.mylyn.internal.commons.xmlrpc;
import java.net.URL;
import org.apache.xmlrpc.XmlRpcRequestConfig;
import org.apache.xmlrpc.client.XmlRpcClientRequestImpl;
import org.eclipse.core.runtime.IProgressMonitor;
/**
* @author Steffen Pingel
*/
class XmlRpcClientRequest extends XmlRpcClientRequestImpl {
private final IProgressMonitor progressMonitor;
private final URL url;
public XmlRpcClientRequest(XmlRpcRequestConfig config, URL url, String methodName, Object[] params,
IProgressMonitor monitor) {
super(config, methodName, params);
this.url = url;
this.progressMonitor = monitor;
}
public IProgressMonitor getProgressMonitor() {
return progressMonitor;
}
public URL getUrl() {
return url;
}
}