public static boolean getWarningCookie ( final RequestContext context ) { val val = ObjectUtils . defaultIfNull ( context . getFlowScope ( ) . get ( "warnCookieValue" ) , Boolean . FALSE . toString ( ) ) . toString ( ) ; return Boolean . parseBoolean ( val ) ; }
Gets warning cookie .