Returns the {@link HostConfiguration host configuration}.

@return the host configuration

@deprecated no longer applicable
174357
@Deprecated
    @Override
    public HostConfiguration getHostConfiguration() {
        HostConfiguration hostconfig = new HostConfiguration();
        hostconfig.setHost(this.httphost);
        return hostconfig;
    }
992414
Future<ExtenderConfiguration> getExtensionConfiguration() {
        return new HAConfFuture<>(invokeSubserviceConfUpdates(),
                new HAConfFuture.ConfResultSupplier<ConsolidatedResult<ExtenderConfiguration>>() {
                    public ConsolidatedResult<ExtenderConfiguration> get() {
                        return lastConsolidatedConfiguration;
                    }
                });
    }
1224246
public String getHost()
    {
        // Return already determined host
        if (_host != null) return _host;

        // Return host from absolute URI
        _host = _uri.getHost();
        _port = _uri.getPort();
        if (_host != null) return _host;

        // Return host from header field
        _hostPort = _header.get(HttpFields.__Host);
        _host = _hostPort;
        _port = 0;
        if (_host != null && _host.length() > 0)
        {
            int colon = _host.lastIndexOf(':');
            if (colon >= 0)
            {
                if (colon < _host.length())
                {
                    try
                    {
                        _port = TypeUtil.parseInt(_host, colon + 1, -1, 10);
                    }
                    catch (Exception e)
                    {
                        LogSupport.ignore(log, e);
                    }
                }
                _host = _host.substring(0, colon);
            }

            return _host;
        }

        // Return host from connection
        if (_connection != null)
        {
            _host = _connection.getServerName();
            _port = _connection.getServerPort();
            if (_host != null && !InetAddrPort.__0_0_0_0.equals(_host)) return _host;
        }

        // Return the local host
        try
        {
            _host = InetAddress.getLocalHost().getHostAddress();
        }
        catch (java.net.UnknownHostException e)
        {
            LogSupport.ignore(log, e);
        }
        return _host;
    }
777580
public String getHosts() {
    if (isReference()) {
      final DistributerDef refDistributer = (DistributerDef) getCheckedRef(DistributerDef.class, "DistributerDef");
      return refDistributer.getHosts();
    }
    return this.hosts;
  }
285915
public ConfigurationSourceKey getConfigName() {
		return new ConfigurationSourceKey(ConfigurationSourceKey.Type.FILE, ConfigurationSourceKey.Format.JSON, configurationName);
	}
1153312
public java.util.List<HostedZone> getHostedZones() {
        if (hostedZones == null) {
            hostedZones = new com.amazonaws.internal.SdkInternalList<HostedZone>();
        }
        return hostedZones;
    }
717672
public static Configuration defaultConfiguration() {
        Defaults defaults = getEffectiveDefaults();
        return Configuration.builder().jsonProvider(defaults.jsonProvider()).options(defaults.options()).build();
    }
190934
public static Configuration getConfiguration(){
        if(configurations == null){
            configurations = ConfigurationFactory.getConfiguration();
            LOGGER.info("Initialized the Configurations.");
        }
        return configurations;
    }
481150
public final BeanConfig getConfig() {
    if (null == config) {
      config = new BeanConfig(getClass().getName());
      doBinding();
    }
    return config;
  }
745315
@Deprecated
  public NodeConfig setAddress(Address address) {
    this.host = address.host();
    this.port = address.port();
    return this;
  }
291477
@Override
    public List<Host> getSeedHosts() {
        List<Host> hosts = new ArrayList<Host>();
        if (seeds != null) {
            for (String seed : seeds.split(",")) {
                seed = seed.trim();
                if (seed.length() > 0) {
                    hosts.add(new Host(seed, this.port));
                }
            }
        }
        return hosts;
    }
504408
public String getHost()
    {
        if (_addr==null)
            return __0_0_0_0;
        
        return _addrIsHost?_addr.getHostName():_addr.getHostAddress();
    }
671387
public java.util.List<String> getHostIdSet() {
        if (hostIdSet == null) {
            hostIdSet = new com.amazonaws.internal.SdkInternalList<String>();
        }
        return hostIdSet;
    }
871560
protected Configuration getGlobalConfiguration() {
		if (!globalConfigurationLoaded) {
			String location = getConfigurationDirectory();
			GlobalConfiguration.loadConfiguration(location);
			globalConfigurationLoaded = true;
		}
		return GlobalConfiguration.getConfiguration();
	}
1191149
public static Map<String,String> getSystemConfiguration()
    {
        if(LibraryConfigurationLoader.systemConfiguration==null)
        {
            synchronized(LibraryConfigurationLoader.class)
            {
                if(LibraryConfigurationLoader.systemConfiguration==null)
                {
                    //read properties
                    Properties properties=LibraryConfigurationLoader.readInternalAndExternalConfiguration();

                    //convert to map
                    Map<String,String> map=new HashMap<String,String>(properties.size());
                    SpiUtil.copyPropertiesToMap(properties,map);

                    //normalize map
                    map=new HashMap<String,String>(map);
                    
                    //prevent changes
                    map=Collections.unmodifiableMap(map);

                    //set instance
                    LibraryConfigurationLoader.systemConfiguration=map;
                }
            }
        }
        
        return LibraryConfigurationLoader.systemConfiguration;
    }
459357
public static HierarchicalConfiguration getCurrentConfig() {
        SiteContext siteContext = SiteContext.getCurrent();
        if (siteContext != null) {
            return siteContext.getConfig();
        } else {
            return null;
        }
    }
74933
public java.lang.String getHost() {
    java.lang.Object ref = host_;
    if (ref instanceof java.lang.String) {
      return (java.lang.String) ref;
    } else {
      com.google.protobuf.ByteString bs = 
          (com.google.protobuf.ByteString) ref;
      java.lang.String s = bs.toStringUtf8();
      if (bs.isValidUtf8()) {
        host_ = s;
      }
      return s;
    }
  }