public class DefaultParser extends CompositeParser
Parser
implementations
available through the
service provider mechanism
.Constructor and Description |
---|
DefaultParser() |
DefaultParser(ClassLoader loader) |
DefaultParser(MediaTypeRegistry registry) |
DefaultParser(MediaTypeRegistry registry,
ClassLoader loader) |
DefaultParser(MediaTypeRegistry registry,
ServiceLoader loader) |
DefaultParser(MediaTypeRegistry registry,
ServiceLoader loader,
Collection<Class<? extends Parser>> excludeParsers) |
DefaultParser(MediaTypeRegistry registry,
ServiceLoader loader,
Collection<Class<? extends Parser>> excludeParsers,
EncodingDetector encodingDetector) |
DefaultParser(MediaTypeRegistry registry,
ServiceLoader loader,
EncodingDetector encodingDetector) |
Modifier and Type | Method and Description |
---|---|
List<Parser> |
getAllComponentParsers()
Returns all parsers registered with the Composite Parser,
including ones which may not currently be active.
|
Map<MediaType,Parser> |
getParsers(ParseContext context) |
findDuplicateParsers, getFallback, getMediaTypeRegistry, getParser, getParser, getParsers, getSupportedTypes, parse, setFallback, setMediaTypeRegistry, setParsers
parse
public DefaultParser(MediaTypeRegistry registry, ServiceLoader loader, Collection<Class<? extends Parser>> excludeParsers, EncodingDetector encodingDetector)
public DefaultParser(MediaTypeRegistry registry, ServiceLoader loader, Collection<Class<? extends Parser>> excludeParsers)
public DefaultParser(MediaTypeRegistry registry, ServiceLoader loader, EncodingDetector encodingDetector)
public DefaultParser(MediaTypeRegistry registry, ServiceLoader loader)
public DefaultParser(MediaTypeRegistry registry, ClassLoader loader)
public DefaultParser(ClassLoader loader)
public DefaultParser(MediaTypeRegistry registry)
public DefaultParser()
public Map<MediaType,Parser> getParsers(ParseContext context)
getParsers
in class CompositeParser
public List<Parser> getAllComponentParsers()
CompositeParser
getAllComponentParsers
in class CompositeParser
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.