Interface HttpPostAction

All Known Implementing Classes:
DefaultHttpPostAction

public interface HttpPostAction
Represents a HTTP post action where the user's browser is posted to the given URL along with the parameters.
  • Method Summary

    Modifier and Type
    Method
    Description
    The request parameters that should be posted to the recipient.
    Gets the URL to which the user's browser should be posted to.
  • Method Details

    • getUrl

      @Nonnull String getUrl()
      Gets the URL to which the user's browser should be posted to.
      Returns:
      the URL
    • getParameters

      @Nonnull Map<String,String> getParameters()
      The request parameters that should be posted to the recipient. The parameters are represented using a Map where the entries represent parameter names and values.

      The values in the map are not URL-encoded, so before using any values in the resulting map the values must be encoded.

      Returns:
      a (possibly empty) Map holding the HTTP request parameters