private void parseDoNotAllowDuplicateSetCookies ( Map < ? , ? > props ) { //PI31734 - prevent multiple Set-Cookies with the same name String value = ( String ) props . get ( HttpConfigConstants . PROPNAME_DO_NOT_ALLOW_DUPLICATE_SET_COOKIES ) ; if ( null != value ) { this . doNotAllowDuplicateSetCookies = convertBoolean ( value ) ; if ( ( TraceComponent . isAnyTracingEnabled ( ) ) && ( tc . isEventEnabled ( ) ) ) { Tr . event ( tc , "Config: DoNotAllowDuplicateSetCookies is " + doNotAllowDuplicateSetCookies ( ) ) ; } } }
Check the configuration map for the property to tell us if we should prevent multiple set - cookies with the same name