/** * @param listener * @param authenticationInfo * @param proxyInfo * @param protocol protocol supported by wagon http/https * @return * @throws ComponentLookupException * @since 4.1.3 */ public WagonFetcher getWagonResourceFetcher( final TransferListener listener, final AuthenticationInfo authenticationInfo, final ProxyInfo proxyInfo, String protocol ) throws ComponentLookupException { return new WagonFetcher( plexusContainer.lookup( Wagon.class, protocol ), listener, authenticationInfo, proxyInfo ); }
/** * @param listener * @param authenticationInfo * @param proxyInfo * @param protocol protocol supported by wagon http/https * @return * @throws ComponentLookupException * @since 4.1.3 */ public WagonFetcher getWagonResourceFetcher( final TransferListener listener, final AuthenticationInfo authenticationInfo, final ProxyInfo proxyInfo, String protocol ) throws ComponentLookupException { return new WagonFetcher( plexusContainer.lookup( Wagon.class, protocol ), listener, authenticationInfo, proxyInfo ); }
/** * @param listener * @param authenticationInfo * @param proxyInfo * @return * @throws ComponentLookupException * @deprecated use getWagonResourceFetcher with protocol argument */ public WagonFetcher getWagonResourceFetcher( final TransferListener listener, final AuthenticationInfo authenticationInfo, final ProxyInfo proxyInfo ) throws ComponentLookupException { // we limit ourselves to HTTP only return new WagonFetcher( plexusContainer.lookup( Wagon.class, "http" ), listener, authenticationInfo, proxyInfo ); }
ResourceFetcher resourceFetcher = new WagonHelper.WagonFetcher( httpWagon, listener, null, null );
ResourceFetcher fetcher = new WagonHelper.WagonFetcher(wagon, listener, wagonAuth, wagonProxy); listener.setFetcher(fetcher); IndexUpdateRequest iur = new IndexUpdateRequest(indexingContext, fetcher);
ResourceFetcher fetcher = new WagonHelper.WagonFetcher(wagon, tr, null, wagonProxy); IndexUpdateRequest iur = new IndexUpdateRequest(indexingContext, fetcher);
ProxyInfo proxyInfo = prepareProxyInfo(context.getIndexUpdateUrl()); ResourceFetcher resourceFetcher = new WagonHelper.WagonFetcher(httpWagon, listener, null, proxyInfo);
info.setPassword(password); ResourceFetcher resourceFetcher = new WagonHelper.WagonFetcher(httpWagon, listener, info, null); Date lastUpdateLocalRepo = indexingContext.getTimestamp(); IndexUpdateRequest updateRequest = new IndexUpdateRequest(indexingContext, resourceFetcher);
/** * @param listener * @param authenticationInfo * @param proxyInfo * @return * @throws ComponentLookupException * @deprecated use getWagonResourceFetcher with protocol argument */ public WagonFetcher getWagonResourceFetcher( final TransferListener listener, final AuthenticationInfo authenticationInfo, final ProxyInfo proxyInfo ) throws ComponentLookupException { // we limit ourselves to HTTP only return new WagonFetcher( plexusContainer.lookup( Wagon.class, "http" ), listener, authenticationInfo, proxyInfo ); }
/** * @param listener * @param authenticationInfo * @param proxyInfo * @param protocol protocol supported by wagon http/https * @return * @throws ComponentLookupException * @since 4.1.3 */ public WagonFetcher getWagonResourceFetcher( final TransferListener listener, final AuthenticationInfo authenticationInfo, final ProxyInfo proxyInfo, String protocol ) throws ComponentLookupException { return new WagonFetcher( plexusContainer.lookup( Wagon.class, protocol ), listener, authenticationInfo, proxyInfo ); }
/** * @param listener * @param authenticationInfo * @param proxyInfo * @return * @throws ComponentLookupException * @deprecated use getWagonResourceFetcher with protocol argument */ public WagonFetcher getWagonResourceFetcher( final TransferListener listener, final AuthenticationInfo authenticationInfo, final ProxyInfo proxyInfo ) throws ComponentLookupException { // we limit ourselves to HTTP only return new WagonFetcher( plexusContainer.lookup( Wagon.class, "http" ), listener, authenticationInfo, proxyInfo ); }