Class FormUrlEncodedSerializerFactory<T>

java.lang.Object
com.palantir.dialogue.annotations.StdSerializer<T>
com.palantir.dialogue.annotations.FormUrlEncodedSerializerFactory<T>
Type Parameters:
T - type of value to serialize
All Implemented Interfaces:
SerializerFactory<T>, com.palantir.dialogue.Serializer<T>

public abstract class FormUrlEncodedSerializerFactory<T> extends StdSerializer<T>
Extend this class in order to serialize T to application/x-www-form-urlencoded request body.
  • Constructor Details

    • FormUrlEncodedSerializerFactory

      public FormUrlEncodedSerializerFactory()
  • Method Details

    • serialize

      public final com.palantir.dialogue.RequestBody serialize(T value)
    • extractFields

      protected abstract Map<String,String> extractFields(T value)
      Extracts the form fields from value.