Interface FormFieldDirectives

All Superinterfaces:
FormFieldDirectivesInstances, ToNameReceptacleEnhancements
All Known Subinterfaces:
Directives
All Known Implementing Classes:
Directives$, FormFieldDirectives$, HttpApp

public interface FormFieldDirectives extends FormFieldDirectivesInstances, ToNameReceptacleEnhancements
  • Method Details

    • formFieldMap

      Directive<scala.Tuple1<scala.collection.immutable.Map<String,String>>> formFieldMap()
      Extracts HTTP form fields from the request as a Map[String, String].

      Returns:
      (undocumented)
    • formFieldMultiMap

      Directive<scala.Tuple1<scala.collection.immutable.Map<String,scala.collection.immutable.List<String>>>> formFieldMultiMap()
      Extracts HTTP form fields from the request as a Map[String, List[String}.

      Returns:
      (undocumented)
    • formFieldSeq

      Directive<scala.Tuple1<scala.collection.immutable.Seq<scala.Tuple2<String,String>>>> formFieldSeq()
      Extracts HTTP form fields from the request as a Seq[(String, String)].

      Returns:
      (undocumented)
    • formField

      Deprecated.
      Use new `formField` overloads with FieldSpec parameters. Kept for binary compatibility. Since 10.2.0.
      Extracts an HTTP form field from the request. Rejects the request if the defined form field matcher(s) don't match.

      Parameters:
      pdm - (undocumented)
      Returns:
      (undocumented)
    • formFields

      Deprecated.
      Use new `formField` overloads with FieldSpec parameters. Kept for binary compatibility. Since 10.2.0.
      Extracts a number of HTTP form field from the request. Rejects the request if the defined form field matcher(s) don't match.

      Parameters:
      pdm - (undocumented)
      Returns:
      (undocumented)