public class ApiBag extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ApiBag.ExceptionWithErrObject |
static class |
ApiBag.IntrospectApi |
static class |
ApiBag.LazyLoadedApi |
static class |
ApiBag.ReqHandlerToApi |
Modifier and Type | Field and Description |
---|---|
static SpecProvider |
EMPTY_SPEC |
static String |
HANDLER_NAME |
static Set<String> |
KNOWN_TYPES |
Constructor and Description |
---|
ApiBag(boolean isCoreSpecific) |
Modifier and Type | Method and Description |
---|---|
static SpecProvider |
constructSpec(PluginInfo info) |
static List<CommandOperation> |
getCommandOperations(ContentStream stream,
Map<String,JsonSchemaValidator> validators,
boolean validate) |
static Map<String,JsonSchemaValidator> |
getParsedSchema(ValidatingJsonMap commands) |
PathTrie<Api> |
getRegistry(String method) |
Api |
lookup(String path,
String httpMethod,
Map<String,String> parts) |
void |
register(Api api,
Map<String,String> nameSubstitutes) |
static void |
registerIntrospect(Map<String,String> nameSubstitutes,
PathTrie<Api> registry,
String path,
Api introspect) |
void |
registerLazy(PluginBag.PluginHolder<SolrRequestHandler> holder,
PluginInfo info) |
static List<Api> |
wrapRequestHandlers(SolrRequestHandler rh,
String... specs) |
public static final SpecProvider EMPTY_SPEC
public static final String HANDLER_NAME
public static void registerIntrospect(Map<String,String> nameSubstitutes, PathTrie<Api> registry, String path, Api introspect)
public static Map<String,JsonSchemaValidator> getParsedSchema(ValidatingJsonMap commands)
public static List<Api> wrapRequestHandlers(SolrRequestHandler rh, String... specs)
public void registerLazy(PluginBag.PluginHolder<SolrRequestHandler> holder, PluginInfo info)
public static SpecProvider constructSpec(PluginInfo info)
public static List<CommandOperation> getCommandOperations(ContentStream stream, Map<String,JsonSchemaValidator> validators, boolean validate)
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.