Class FormParameters

All Implemented Interfaces:
Serializable, Cloneable, Map<String, List<String>>, MultiValueMap<String,String>

public final class FormParameters extends LinkedMultiValueMap<String,String>
A request's form parameters, derived from its form URL encoded body content.
Since:
3.0.0
Author:
Andy Wilkinson
See Also:
  • Method Details

    • from

      public static FormParameters from(OperationRequest request)
      Extracts the form parameters from the body of the given request. If the request has no body content, an empty FormParameters is returned, rather than null.
      Parameters:
      request - the request
      Returns:
      the form parameters extracted from the body content