/** * Validates the redirection URL * * @param config * The service's configuration */ public void validateRedirection(RestletCloudConfig config) { if (config.isReverseProxyEnabled() && StringUtils.isNullOrEmpty(config.getReverseProxyTargetUrl())) { throw new IllegalArgumentException( "The redirection url is mandatory when redirection is enabled"); } } }
/** * Validates the redirection URL * * @param config * The service's configuration */ public void validateRedirection(RestletCloudConfig config) { if (config.isReverseProxyEnabled() && StringUtils.isNullOrEmpty(config.getReverseProxyTargetUrl())) { throw new IllegalArgumentException( "The redirection url is mandatory when redirection is enabled"); } } }
/** * Validates the redirection URL * * @param config * The service's configuration */ public void validateRedirection(RestletCloudConfig config) { if (config.isReverseProxyEnabled() && StringUtils.isNullOrEmpty(config.getReverseProxyTargetUrl())) { throw new IllegalArgumentException( "The redirection url is mandatory when redirection is enabled"); } } }
/** * Validates the redirection URL * * @param config * The service's configuration */ public void validateRedirection(RestletCloudConfig config) { if (config.isReverseProxyEnabled() && StringUtils.isNullOrEmpty(config.getReverseProxyTargetUrl())) { throw new IllegalArgumentException( "The redirection url is mandatory when redirection is enabled"); } } }
if (restletCloudConfig.isReverseProxyEnabled()) { LOGGER.info("Add redirection module"); String redirectorUrl = restletCloudConfig.getReverseProxyTargetUrl()
if (restletCloudConfig.isReverseProxyEnabled()) { LOGGER.info("Add redirection module"); String redirectorUrl = restletCloudConfig.getReverseProxyTargetUrl()
if (restletCloudConfig.isReverseProxyEnabled()) { LOGGER.info("Add redirection module"); String redirectorUrl = restletCloudConfig.getReverseProxyTargetUrl()
if (restletCloudConfig.isReverseProxyEnabled()) { LOGGER.info("Add redirection module"); String redirectorUrl = restletCloudConfig.getReverseProxyTargetUrl()