public class SimplePartParser extends BaseHttpPartParser
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:
HttpPartParser.Null
Modifier and Type | Field and Description |
---|---|
static SimplePartParser |
DEFAULT
Reusable instance of
SimplePartParser , all default settings. |
static SimplePartParserSession |
DEFAULT_SESSION
Reusable instance of
SimplePartParser , all default settings. |
Constructor and Description |
---|
SimplePartParser() |
Modifier and Type | Method and Description |
---|---|
SimplePartParserSession |
createPartSession(ParserSessionArgs args)
Creates a new parser session.
|
getClassMeta, getClassMeta, parse, parse, parse
public static final SimplePartParser DEFAULT
SimplePartParser
, all default settings.public static final SimplePartParserSession DEFAULT_SESSION
SimplePartParser
, all default settings.public SimplePartParser()
public SimplePartParserSession createPartSession(ParserSessionArgs args)
HttpPartParser
args
- The runtime arguments for the session.Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.