Class StatusCodePredicates

java.lang.Object
se.swedenconnect.bankid.rpapi.service.impl.StatusCodePredicates

public class StatusCodePredicates extends Object
Predicates for matching status codes
Author:
Martin Lindström, Felix Hellman
  • Constructor Details

    • StatusCodePredicates

      public StatusCodePredicates()
  • Method Details

    • compareBetween

      public static IntPredicate compareBetween(int from, int to)
    • userError

      public static IntPredicate userError()
      Returns:
      Predicate to determine user error
    • serverError

      public static IntPredicate serverError()
      Returns:
      Predicate to determine server error