Package net.devslash

Class PollUntil

  • All Implemented Interfaces:
    net.devslash.AfterHook , net.devslash.CallDecorator , net.devslash.RequestDataSupplier , net.devslash.ResolvedFullDataAfterHook

    
    public final class PollUntil<T extends Object>
     implements CallDecorator<T>, ResolvedFullDataAfterHook<T>, RequestDataSupplier<T>
                        

    PollUntil allows one to set up a DSL context that ensures that a request will poll until such a time that the predicate returns true. Due to how this request type works, the concurrency is set at 1.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class PollUntil.Companion
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      Call<T> accept(Call<T> call)
      Unit accept(HttpRequest req, HttpResponse resp, T data)
      RequestData<T> getDataForRequest()
      • Methods inherited from class net.devslash.RequestDataSupplier

        init
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait