Class SimplePartParser

All Implemented Interfaces:
AnnotationProvider, HttpPartParser

An implementation of HttpPartParser that takes in the strings and tries to convert them to POJOs using constructors and static create methods.

The class being created must be one of the following in order to convert it from a string:

  • An enum.
  • Have a public constructor with a single String parameter.
  • Have one of the following public static methods that takes in a single String parameter:
    • fromString
    • fromValue
    • valueOf
    • parse
    • parseString
    • forName
    • forString
  • This class is thread safe and reusable.
See Also: