src/main/java/org/realityforge/ssf/HttpUtil.java
/**
   * Return the value of the cookie with the specified name or null if no such cookie.
   *
   * @param request the incoming request.
   * @param cookieName the name of the cookie.
   * @return the value of the cookie, if it exists, null otherwise.
   */
Return the value of the cookie with the specified name or null if no such cookie.
@param request the incoming request.
@param cookieName the name of the cookie.
@return the value of the cookie, if it exists, null otherwise.
Return the value of the cookie with the specified name or null if no such cookie . @param request the incoming request . @param cookieName the name of the cookie . @return the value of the cookie if it exists null otherwise .
@Nullable
  public static Cookie findCookie( final HttpServletRequest request, final String cookieName )
  {
    final Cookie[] cookies = request.getCookies();
    if ( null != cookies )
    {
      for ( final Cookie cookie : cookies )
      {
        if ( cookie.getName().equals( cookieName ) )
        {
          return cookie;
        }
      }
    }
    return null;
  }
@ Nullable public static Cookie findCookie ( final HttpServletRequest request , final String cookieName ) { final Cookie [ ] cookies = request . getCookies ( ) ; if ( null != cookies ) { for ( final Cookie cookie : cookies ) { if ( cookie . getName ( ) . equals ( cookieName ) ) { return cookie ; } } } return null ; }
Return the value of the cookie with the specified name or null if no such cookie.
Return the value of the cookie with the specified name or null if no such cookie .