diff options
author | slewis | 2008-09-24 22:08:30 +0000 |
---|---|---|
committer | slewis | 2008-09-24 22:08:30 +0000 |
commit | 8b735c1ea196c19c2aa346ed347e8e42ba8779ac (patch) | |
tree | 3bb8f4c47818f7fcbb3227a1d0ef4005282c8f52 | |
parent | 8565c13fe323880c26288e034058f9e31a6e66d2 (diff) | |
download | org.eclipse.ecf-8b735c1ea196c19c2aa346ed347e8e42ba8779ac.tar.gz org.eclipse.ecf-8b735c1ea196c19c2aa346ed347e8e42ba8779ac.tar.xz org.eclipse.ecf-8b735c1ea196c19c2aa346ed347e8e42ba8779ac.zip |
Reviewed and applied documentation patch from https://bugs.eclipse.org/bugs/show_bug.cgi?id=248485v20081006-2042
-rw-r--r-- | framework/bundles/org.eclipse.ecf.filetransfer/src/org/eclipse/ecf/filetransfer/IRetrieveFileTransferContainerAdapter.java | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/framework/bundles/org.eclipse.ecf.filetransfer/src/org/eclipse/ecf/filetransfer/IRetrieveFileTransferContainerAdapter.java b/framework/bundles/org.eclipse.ecf.filetransfer/src/org/eclipse/ecf/filetransfer/IRetrieveFileTransferContainerAdapter.java index 71d361b4e..d1183a9be 100644 --- a/framework/bundles/org.eclipse.ecf.filetransfer/src/org/eclipse/ecf/filetransfer/IRetrieveFileTransferContainerAdapter.java +++ b/framework/bundles/org.eclipse.ecf.filetransfer/src/org/eclipse/ecf/filetransfer/IRetrieveFileTransferContainerAdapter.java @@ -176,14 +176,26 @@ public interface IRetrieveFileTransferContainerAdapter extends IAdaptable { /** * Set proxy for use upon subsequent * {@link #sendRetrieveRequest(IFileID, IFileTransferListener, Map)}. This - * method should be called with a non-null proxy to allow the given proxy to + * method should be called with proxy to allow the given proxy to * be used in subsequent calls to * {@link #sendRetrieveRequest(IFileID, IFileTransferListener, Map)}. + * <p> + * When proxy is <code>null</code> or has not been called providers must use + * the <code>org.eclipse.core.net</code> proxy API to obtain proxy information + * and proxy credentials if they support proxies of the type(s) supported by + * that API. The API is provided by an OSGi service of type + * <code>org.eclipse.core.net.proxy.IProxyService</code>. + * </p><p> + * If no information is available via <code>IProxyService</code> + * providers may use other defaults. + * </p> * * @param proxy * the proxy to use for subsequent calls to * {@link #sendRetrieveRequest(IFileID, IFileTransferListener, Map)}. - * If <code>null</code>, then no proxy will be used. + * If <code>null</code>, then proxy information is obtained from + * <code>IProxyService</code> if available. Otherwise provider + * defined defaults may be used. */ public void setProxy(Proxy proxy); } |