aws-xray-recorder-sdk-core/src/main/java/com/amazonaws/xray/strategy/jakarta/DynamicSegmentNamingStrategy.java [70:86]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public DynamicSegmentNamingStrategy(String fallbackName, String recognizedHosts) {
        String overrideName = getOverrideName();
        if (overrideName != null) {
            this.fallbackName = getOverrideName();
            if (logger.isInfoEnabled()) {
                logger.info("Environment variable " + NAME_OVERRIDE_ENVIRONMENT_VARIABLE_KEY + " or system property "
                            + NAME_OVERRIDE_SYSTEM_PROPERTY_KEY
                            + " set. Overriding DynamicSegmentNamingStrategy constructor argument. Segments generated with this "
                            + "strategy will be named: " + this.fallbackName
                            + " when the host header is unavilable or does not match the provided recognizedHosts pattern.");
            }
        } else {
            this.fallbackName = fallbackName;
        }

        this.recognizedHosts = recognizedHosts;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



aws-xray-recorder-sdk-core/src/main/java/com/amazonaws/xray/strategy/DynamicSegmentNamingStrategy.java [70:86]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
    public DynamicSegmentNamingStrategy(String fallbackName, String recognizedHosts) {
        String overrideName = getOverrideName();
        if (overrideName != null) {
            this.fallbackName = getOverrideName();
            if (logger.isInfoEnabled()) {
                logger.info("Environment variable " + NAME_OVERRIDE_ENVIRONMENT_VARIABLE_KEY + " or system property "
                            + NAME_OVERRIDE_SYSTEM_PROPERTY_KEY
                            + " set. Overriding DynamicSegmentNamingStrategy constructor argument. Segments generated with this "
                            + "strategy will be named: " + this.fallbackName
                            + " when the host header is unavilable or does not match the provided recognizedHosts pattern.");
            }
        } else {
            this.fallbackName = fallbackName;
        }

        this.recognizedHosts = recognizedHosts;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



