Class FormRequestContent

All Implemented Interfaces:
Request.Content, org.eclipse.jetty.io.Content.Source

public class FormRequestContent extends StringRequestContent

A Request.Content for form uploads with the "application/x-www-form-urlencoded" content type.

  • Nested Class Summary

    Nested classes/interfaces inherited from interface org.eclipse.jetty.io.Content.Source

    org.eclipse.jetty.io.Content.Source.Factory
  • Constructor Summary

    Constructors
    Constructor
    Description
    FormRequestContent(org.eclipse.jetty.util.Fields fields)
     
    FormRequestContent(org.eclipse.jetty.util.Fields fields, Charset charset)
     
  • Method Summary

    Modifier and Type
    Method
    Description
    static String
    convert(org.eclipse.jetty.util.Fields fields)
     
    static String
    convert(org.eclipse.jetty.util.Fields fields, Charset charset)
     

    Methods inherited from class ByteBufferRequestContent

    getContentType

    Methods inherited from class org.eclipse.jetty.io.content.ByteBufferContentSource

    demand, fail, getByteBuffers, getLength, read, rewind

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.eclipse.jetty.io.Content.Source

    demand, fail, fail, getLength, read, rewind
  • Constructor Details

    • FormRequestContent

      public FormRequestContent(org.eclipse.jetty.util.Fields fields)
    • FormRequestContent

      public FormRequestContent(org.eclipse.jetty.util.Fields fields, Charset charset)
  • Method Details

    • convert

      public static String convert(org.eclipse.jetty.util.Fields fields)
    • convert

      public static String convert(org.eclipse.jetty.util.Fields fields, Charset charset)