Tabnine Logo
RepositorySystemSession.getProxySelector
Code IndexAdd Tabnine to your IDE (free)

How to use
getProxySelector
method
in
org.sonatype.aether.RepositorySystemSession

Best Java code snippets using org.sonatype.aether.RepositorySystemSession.getProxySelector (Showing top 8 results out of 315)

origin: sonatype/sonatype-aether

public ProxySelector getProxySelector()
{
  return session.getProxySelector();
}
origin: org.apache.maven.mae.components/mae-project-tools

proxySelector = rss.getProxySelector();
origin: sonatype/sonatype-aether

ProxySelector proxySelector = session.getProxySelector();
origin: org.sonatype.aether/aether-impl

ProxySelector proxySelector = session.getProxySelector();
origin: org.apache.maven.shared/maven-artifact-transfer

  private RemoteRepository getRemoteRepository( RepositorySystemSession session, ArtifactRepository remoteRepository )
    throws ArtifactDeployerException
  {
    // CHECKSTYLE_OFF: LineLength
    RemoteRepository aetherRepo = (RemoteRepository) Invoker.invoke( RepositoryUtils.class, "toRepo",
                                     org.apache.maven.artifact.repository.ArtifactRepository.class,
                                     remoteRepository );
    // CHECKSTYLE_ON: LineLength

    if ( aetherRepo.getAuthentication() == null )
    {
      aetherRepo.setAuthentication( session.getAuthenticationSelector().getAuthentication( aetherRepo ) );
    }

    if ( aetherRepo.getProxy() == null )
    {
      aetherRepo.setProxy( session.getProxySelector().getProxy( aetherRepo ) );
    }

    return aetherRepo;
  }
}
origin: sonatype/sonatype-aether

if ( session.getProxySelector() == null )
origin: org.sonatype.aether/aether-impl

if ( session.getProxySelector() == null )
origin: sonatype/sonatype-aether

setConfigProperties( session.getConfigProperties() );
setMirrorSelector( session.getMirrorSelector() );
setProxySelector( session.getProxySelector() );
setAuthenticationSelector( session.getAuthenticationSelector() );
setArtifactTypeRegistry( session.getArtifactTypeRegistry() );
org.sonatype.aetherRepositorySystemSessiongetProxySelector

Javadoc

Gets the proxy selector to use for repositories discovered in artifact descriptors. Note that this selector is not used for remote repositories which are passed as request parameters to the repository system, those repositories are supposed to have their proxy (if any) already set.

Popular methods of RepositorySystemSession

  • getConfigProperties
    Gets the configuration properties used to tweak internal aspects of the repository system (e.g. thre
  • getLocalRepository
    Gets the local repository used during this session. This is a convenience method for LocalRepository
  • getTransferListener
    Gets the listener being notified of uploads/downloads by the repository system.
  • getAuthenticationSelector
    Gets the authentication selector to use for repositories discovered in artifact descriptors. Note th
  • getLocalRepositoryManager
    Gets the local repository manager used during this session.
  • getRepositoryListener
    Gets the listener being notified of actions in the repository system.
  • getArtifactTypeRegistry
    Gets the registry of artifact types recognized by this session.
  • getCache
    Gets the cache the repository system may use to save data for future reuse during the session.
  • getData
    Gets the custom data associated with this session.
  • getDependencyGraphTransformer
    Gets the dependency graph transformer to use for building dependency graphs.
  • getSystemProperties
    Gets the system properties to use, e.g. for processing of artifact descriptors. System properties ar
  • getUserProperties
    Gets the user properties to use, e.g. for processing of artifact descriptors. User properties are si
  • getSystemProperties,
  • getUserProperties,
  • getWorkspaceReader,
  • getChecksumPolicy,
  • getDependencyManager,
  • getDependencySelector,
  • getDependencyTraverser,
  • getMirrorSelector,
  • getUpdatePolicy

Popular in Java

  • Making http requests using okhttp
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • getSystemService (Context)
  • getOriginalFilename (MultipartFile)
    Return the original filename in the client's filesystem.This may contain path information depending
  • FileInputStream (java.io)
    An input stream that reads bytes from a file. File file = ...finally if (in != null) in.clos
  • Selector (java.nio.channels)
    A controller for the selection of SelectableChannel objects. Selectable channels can be registered w
  • Collections (java.util)
    This class consists exclusively of static methods that operate on or return collections. It contains
  • JFileChooser (javax.swing)
  • JOptionPane (javax.swing)
  • Options (org.apache.commons.cli)
    Main entry-point into the library. Options represents a collection of Option objects, which describ
  • Best IntelliJ plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now