org.nuxeo.runtime.config
Class ConfigurationHelper
java.lang.Object
org.nuxeo.runtime.config.ConfigurationHelper
public class ConfigurationHelper
- extends Object
- Author:
- Bogdan Stefanescu
getNormalizedURI
public static String getNormalizedURI(String uri,
String newHost)
- Returns the normalized host if not already normalized otherwise
return null.
The normalization replaces special hosts like 0.0.0.0, 127.0.0.1, localhost
with the given newHost.
getNormalizedHost
public static String getNormalizedHost(String host,
String newHost)
Copyright © 2011 Nuxeo SAS. All Rights Reserved.