public final class RequestHandlers extends Object
Modifier and Type | Class and Description |
---|---|
static class |
RequestHandlers.LazyRequestHandlerWrapper
The
LazyRequestHandlerWrapper wraps any SolrRequestHandler . |
Modifier and Type | Field and Description |
---|---|
protected SolrCore |
core |
static org.slf4j.Logger |
log |
Constructor and Description |
---|
RequestHandlers(SolrCore core) |
Modifier and Type | Method and Description |
---|---|
SolrRequestHandler |
get(String handlerName) |
<T extends SolrRequestHandler> |
getAll(Class<T> clazz) |
Map<String,SolrRequestHandler> |
getRequestHandlers()
Returns an unmodifiable Map containing the registered handlers
|
SolrRequestHandler |
register(String handlerName,
SolrRequestHandler handler)
Handlers must be initialized before calling this function.
|
public static org.slf4j.Logger log
protected final SolrCore core
public RequestHandlers(SolrCore core)
public SolrRequestHandler get(String handlerName)
public <T extends SolrRequestHandler> Map<String,T> getAll(Class<T> clazz)
public SolrRequestHandler register(String handlerName, SolrRequestHandler handler)
public Map<String,SolrRequestHandler> getRequestHandlers()
Copyright © 2000-2014 Apache Software Foundation. All Rights Reserved.