public List < YokeCookie > getAllCookies ( @ NotNull final String name ) { List < YokeCookie > foundCookies = new ArrayList <> ( ) ; if ( cookies != null ) { for ( YokeCookie c : cookies ) { if ( name . equals ( c . name ( ) ) ) { foundCookies . add ( c ) ; } } } return foundCookies ; }
Allow getting all Cookie by name .