private boolean havePreviousDigestAuthorizationAndShouldAbort(Request request,String nonce,boolean isStale){
  final String previousAuthorizationHeader=request.header("Authorization");
  if (previousAuthorizationHeader != null && previousAuthorizationHeader.startsWith("Digest")) {
    return !isStale;
  }
  return false;
}

private boolean havePreviousDigestAuthorizationAndShouldAbort ( Request request , String nonce , boolean isStale ) { final String previousAuthorizationHeader = request . header ( "Authorization" ) ; if ( previousAuthorizationHeader != null && previousAuthorizationHeader . startsWith ( "Digest" ) ) { return ! isStale ; } return false ; }
checks if the previous request had a digest authorization and its nonce matches to the current server nonce . if that is the case , then we would simply attempt the same authentication again and would fail again and again , . . .
