Nuxeo Enterprise Platform 5.4

org.nuxeo.runtime.config
Class ConfigurationHelper

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

public class ConfigurationHelper
extends java.lang.Object

Author:
Bogdan Stefanescu

Method Summary
static java.lang.String getNormalizedHost(java.lang.String host, java.lang.String newHost)
           
static java.lang.String getNormalizedURI(java.lang.String uri, java.lang.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 java.lang.String getNormalizedURI(java.lang.String uri,
                                                java.lang.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 java.lang.String getNormalizedHost(java.lang.String host,
                                                 java.lang.String newHost)

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.