public interface HttpPartParser
The following default implementations are provided:
OpenApiParser
- Parts encoded in based on OpenAPI schema.
UonParser
- Parts encoded in UON notation.
SimplePartParser
- Parts encoded in plain text.
Implementations must include either a public no-args constructor or a public constructor that takes in a single
PropertyStore
object.
Modifier and Type | Interface and Description |
---|---|
static interface |
HttpPartParser.Null
Represent "no" part parser.
|
Modifier and Type | Method and Description |
---|---|
HttpPartParserSession |
createPartSession(ParserSessionArgs args)
Creates a new parser session.
|
<T> ClassMeta<T> |
getClassMeta(Class<T> c)
Returns metadata about the specified class.
|
<T> ClassMeta<T> |
getClassMeta(Type t,
Type... args)
Returns metadata about the specified class.
|
HttpPartParserSession createPartSession(ParserSessionArgs args)
args
- The runtime arguments for the session.<T> ClassMeta<T> getClassMeta(Class<T> c)
T
- The class type.c
- The class type.<T> ClassMeta<T> getClassMeta(Type t, Type... args)
T
- The class type.t
- The class type.args
- The class type args.Copyright © 2016–2020 The Apache Software Foundation. All rights reserved.