Interface ClientForm

All Known Subinterfaces:
ClientMultipartForm

public interface ClientForm
A form: a container for attributes.
  • Method Details

    • form

      static ClientForm form()
      Returns:
      a blank form
    • form

      static ClientForm form(MultiMap initial)
      Parameters:
      initial - the initial content of the form
      Returns:
      a form populated after the initial multimap
    • attribute

      ClientForm attribute(String name, String value)
    • charset

      ClientForm charset(String charset)
      Set the charset to use when encoding the form. The default charset is StandardCharsets.UTF_8.
      Parameters:
      charset - the charset to use
      Returns:
      a reference to this, so the API can be used fluently
    • charset

      ClientForm charset(Charset charset)
      Set the charset to use when encoding the form. The default charset is StandardCharsets.UTF_8.
      Parameters:
      charset - the charset to use
      Returns:
      a reference to this, so the API can be used fluently
    • charset

      Charset charset()
      Returns:
      the charset to use when encoding the form