Interface PollingRepresentationFactory


public interface PollingRepresentationFactory
Interface with factory methods to create polling representations.
Since:
5.4.0
  • Method Details

    • pending

      Creates a pending representation.
      Parameters:
      builder - builder allowing the addition additional representation content.
      Returns:
      The pending polling representation.
    • completed

      Representation completed(boolean successful, Consumer<? super CompletedPollingConfigurator> builder)
      Creates a completed representation.
      Parameters:
      successful - boolean stating if the polling was successful or not.
      builder - builder allowing the addition additional representation content.
      Returns:
      The completed polling representation.