Interface FormFieldDirectives

    • Method Detail

      • formFieldMap

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

        Returns:
        (undocumented)
      • formFieldMultiMap

        Directive<scala.Tuple1<scala.collection.immutable.Map<java.lang.String,​scala.collection.immutable.List<java.lang.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<java.lang.String,​java.lang.String>>>> formFieldSeq()
        Extracts HTTP form fields from the request as a Seq[(String, String)].

        Returns:
        (undocumented)
      • formField

        Directive<java.lang.Object> formField​(FormFieldDirectives.FieldMagnet pdm)
        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

        Directive<java.lang.Object> formFields​(FormFieldDirectives.FieldMagnet pdm)
        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)