Interface WarningsHandler


  • public interface WarningsHandler
    Called if there are warnings to determine if those warnings should fail the request.
    • Field Detail

      • PERMISSIVE

        static final WarningsHandler PERMISSIVE
        The permissive warnings handler. Warnings will not fail the request.
      • STRICT

        static final WarningsHandler STRICT
        The strict warnings handler. Warnings will fail the request.
    • Method Detail

      • warningsShouldFailRequest

        boolean warningsShouldFailRequest​(java.util.List<java.lang.String> warnings)
        Determines whether the given list of warnings should fail the request.
        Parameters:
        warnings - a list of warnings.
        Returns:
        boolean indicating if the request should fail.