ninja-core/src/main/java/ninja/Result.java
public Cookie getCookie(String cookieName) {
        
        for (Cookie cookie : getCookies()) {
            if (cookie.getName().equals(cookieName)) {
                return cookie;
            }
        }
        
        return null;
    }
public Cookie getCookie(String cookieName) {
        
        for (Cookie cookie : getCookies()) {
            if (cookie.getName().equals(cookieName)) {
                return cookie;
            }
        }
        
        return null;
    }
public Cookie getCookie ( String cookieName ) { for ( Cookie cookie : getCookies ( ) ) { if ( cookie . getName ( ) . equals ( cookieName ) ) { return cookie ; } } return null ; }
Returns cookie with that name or null.

@param cookieName Name of the cookie
@return The cookie or null if not found.
Returns cookie with that name or null .