Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.runtime.config
Class ConfigurationHelper

java.lang.Object
  extended by org.nuxeo.runtime.config.ConfigurationHelper

public class ConfigurationHelper
extends Object

Author:
Bogdan Stefanescu

Method Summary
static String getNormalizedHost(String host, String newHost)
           
static String getNormalizedURI(String uri, String newHost)
          Returns the normalized host if not already normalized otherwise return null.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

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)

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.