private void parseCookieUpdate ( Map < Object , Object > props ) { //This property needed to be documented using a new name because //the original property contains a banned word for metatype: 'config' //This change will verify if either (or both) original/documented properties //are set. The instance variable they reference will be set to false if //either property is set to false. Object value = props . get ( HttpConfigConstants . PROPNAME_NO_CACHE_COOKIES_CONTROL ) ; Object value2 = props . get ( HttpConfigConstants . PROPNAME_COOKIES_CONFIGURE_NOCACHE ) ; boolean documentedProperty = true ; boolean originalProperty = true ; if ( null != value ) { documentedProperty = convertBoolean ( value ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEventEnabled ( ) ) { Tr . event ( tc , "Config: set no-cache cookie control is " + documentedProperty ) ; } } if ( null != value2 ) { originalProperty = convertBoolean ( value2 ) ; if ( TraceComponent . isAnyTracingEnabled ( ) && tc . isEventEnabled ( ) ) { Tr . event ( tc , "Config: set-cookie configures no-cache is " + originalProperty ) ; } } this . bCookiesConfigureNoCache = originalProperty && documentedProperty ; }
Check the configuration map for the Set - Cookie updating no - cache value .