protected Credentials getNTLMCredentials(Proxy lp) { if (hasForceNTLMProxyOption()) return HttpClientRetrieveFileTransfer.createNTLMCredentials(lp); return null; }
protected Credentials getNTLMCredentials(Proxy lp) { if (hasForceNTLMProxyOption()) return HttpClientRetrieveFileTransfer.createNTLMCredentials(lp); return null; }
protected boolean doPause() { if (isPaused() || !isConnected() || isDone()) return false; this.paused = true; return this.paused; }
protected boolean doResume() { if (!isPaused() || isConnected()) return false; return openStreamsForResume(); }
private boolean checkAndHandleDone() { if (isDone()) { // for cancel the done event should have been fired always. if (!doneFired) { fireTransferReceiveDoneEvent(); } return true; } return false; }
/** * This method will detect if the request connected to a NTLM proxy * given the HttpContext provided to one of the HttpClient#execute() * methods. * * @param context the HttpContext given to the HttpClient at execution time * @return true if it connected to an NTLM proxy * @since 5.0 */ public static boolean detectNTLMProxy(HttpContext context) { return isProxyType(context, PROXY_NTLM_VALUE); }
public void cancel() { HttpClientFileSystemBrowser.this.cancel(); } }
protected InputStream wrapTransferReadInputStream(InputStream inputStream, IProgressMonitor monitor) { // Added to address bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=389292 return new NoCloseWrapperInputStream(inputStream); }
public Object getAdapter(Class adapter) { return HttpClientRetrieveFileTransfer.this.getAdapter(adapter); } });
protected boolean doPause() { if (isPaused() || !isConnected() || isDone()) return false; this.paused = true; return this.paused; }
protected boolean doResume() { if (!isPaused() || isConnected()) return false; return openStreamsForResume(); }
protected Credentials getNTLMCredentials(Proxy lp) { if (hasForceNTLMProxyOption()) return HttpClientRetrieveFileTransfer.createNTLMCredentials(lp); return null; }
protected Credentials getNTLMCredentials(Proxy lp) { if (hasForceNTLMProxyOption()) return HttpClientRetrieveFileTransfer.createNTLMCredentials(lp); return null; }
private boolean checkAndHandleDone() { if (isDone()) { // for cancel the done event should have been fired always. if (!doneFired) { fireTransferReceiveDoneEvent(); } return true; } return false; }
/** * This method will detect if the request connected to a NTLM proxy * given the {@link HttpContext} provided to one of the {@link HttpClient#execute()} * methods. * * @param context the {@link HttpContext} given to the {@link HttpClient} at execution time * @return true if it connected to an NTLM proxy * @since 5.0 */ public static boolean detectNTLMProxy(HttpContext context) { return isProxyType(context, PROXY_NTLM_VALUE); }
public void cancel() { HttpClientFileSystemBrowser.this.cancel(); } }
protected InputStream wrapTransferReadInputStream(InputStream inputStream, IProgressMonitor monitor) { // Added to address bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=389292 return new NoCloseWrapperInputStream(inputStream); }
public Object getAdapter(Class adapter) { return HttpClientRetrieveFileTransfer.this.getAdapter(adapter); } });
/** * This method will detect if the request connected to a SPNEGO proxy * given the HttpContext provided to one of the HttpClient#execute() * methods. * * @param context the HttpContext given to the HttpClient at execution time * @return true if it connected to an SPNEGO proxy * @since 5.0 */ public static boolean detectSPNEGOProxy(HttpContext context) { return isProxyType(context, PROXY_SPNEGO_VALUE); } }
/** * This method will detect if the request connected to a SPNEGO proxy * given the {@link HttpContext} provided to one of the {@link HttpClient#execute()} * methods. * * @param context the {@link HttpContext} given to the {@link HttpClient} at execution time * @return true if it connected to an SPNEGO proxy * @since 5.0 */ public static boolean detectSPNEGOProxy(HttpContext context) { return isProxyType(context, PROXY_SPNEGO_VALUE); } }