Class ConnectionSettings

  • All Implemented Interfaces:
    Constants, Registry, aQute.service.reporter.Report, aQute.service.reporter.Reporter, java.io.Closeable, java.lang.AutoCloseable, java.lang.Iterable<java.lang.String>

    public class ConnectionSettings
    extends Processor
    • Field Detail

      • M2_SETTINGS_SECURITY_XML

        public static final java.lang.String M2_SETTINGS_SECURITY_XML
        See Also:
        Constant Field Values
      • M2_SETTINGS_SECURITY_PROPERTY

        public static final java.lang.String M2_SETTINGS_SECURITY_PROPERTY
        See Also:
        Constant Field Values
    • Constructor Detail

      • ConnectionSettings

        public ConnectionSettings​(Processor processor,
                                  HttpClient client)
                           throws java.lang.Exception
        Throws:
        java.lang.Exception
    • Method Detail

      • readSettings

        public void readSettings()
                          throws java.lang.Exception
        Throws:
        java.lang.Exception
      • getBasicAuthentication

        public BasicAuthentication getBasicAuthentication​(java.lang.String username,
                                                          java.lang.String password)
      • createProxyHandler

        public static ProxyHandler createProxyHandler​(ProxyDTO proxyDTO)
        Create Proxy Handler from ProxyDTO
      • makeAbsolute

        public static java.lang.String makeAbsolute​(java.io.File cwd,
                                                    java.lang.String trust)
      • add

        public void add​(ServerDTO server)
      • add

        public void add​(ProxyDTO proxy)
      • getServerDTOs

        public java.util.List<ServerDTO> getServerDTOs()