Interface CompletedActions

All Known Subinterfaces:
CompletedPollingConfigurator

public interface CompletedActions
Builder interface allowing the addition of actions to the representation of a completed polling step.
Since:
5.4.0
  • Method Details

    • setFormAction

      void setFormAction(URI href, HttpMethod method, MediaType type, Message title, Message actionTitle, Consumer<? super FormActionFields> builder)
      Adds a form action, which is a action that may collect information form the user and then use it to make an HTTP request. It plays a role similar to HTML forms.
      Parameters:
      href - The HTTP target URI.
      method - The HTTP method.
      type - The media type to use in the request payload.
      title - The action title.
      actionTitle - The action submit title.
      builder - A builder to add fields to the form.
    • setRedirectAction

      void setRedirectAction(URI href, HttpMethod method, MediaType type, Consumer<? super FormActionHiddenFields> builder)
      Adds a redirect form action. which represents an API request that doesn't required user interaction to be performed.
      Parameters:
      href - The HTTP target URI.
      method - The HTTP method.
      type - The identifier of the media type to use in the request payload.
      builder - A builder to add hidden fields to the redirect form.