Class FormDataImpl

  • All Implemented Interfaces:
    FormData

    public class FormDataImpl
    extends java.lang.Object
    implements FormData
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) java.util.Map<java.lang.String,​java.lang.Object> fields  
    • Constructor Summary

      Constructors 
      Constructor Description
      FormDataImpl()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      FormData set​(java.lang.String name, boolean value)
      Sets a field on the form.
      FormData set​(java.lang.String name, int value)
      Sets a field on the form.
      FormData set​(java.lang.String name, FilePayload value)
      Sets a field on the form.
      FormData set​(java.lang.String name, java.lang.String value)
      Sets a field on the form.
      FormData set​(java.lang.String name, java.nio.file.Path value)
      Sets a field on the form.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • fields

        java.util.Map<java.lang.String,​java.lang.Object> fields
    • Constructor Detail

      • FormDataImpl

        public FormDataImpl()
    • Method Detail

      • set

        public FormData set​(java.lang.String name,
                            java.lang.String value)
        Description copied from interface: FormData
        Sets a field on the form. File values can be passed either as Path or as FilePayload.
        Specified by:
        set in interface FormData
        Parameters:
        name - Field name.
        value - Field value.
      • set

        public FormData set​(java.lang.String name,
                            boolean value)
        Description copied from interface: FormData
        Sets a field on the form. File values can be passed either as Path or as FilePayload.
        Specified by:
        set in interface FormData
        Parameters:
        name - Field name.
        value - Field value.
      • set

        public FormData set​(java.lang.String name,
                            int value)
        Description copied from interface: FormData
        Sets a field on the form. File values can be passed either as Path or as FilePayload.
        Specified by:
        set in interface FormData
        Parameters:
        name - Field name.
        value - Field value.
      • set

        public FormData set​(java.lang.String name,
                            java.nio.file.Path value)
        Description copied from interface: FormData
        Sets a field on the form. File values can be passed either as Path or as FilePayload.
        Specified by:
        set in interface FormData
        Parameters:
        name - Field name.
        value - Field value.
      • set

        public FormData set​(java.lang.String name,
                            FilePayload value)
        Description copied from interface: FormData
        Sets a field on the form. File values can be passed either as Path or as FilePayload.
        Specified by:
        set in interface FormData
        Parameters:
        name - Field name.
        value - Field value.