public final class RequestHandlers extends Object
Constructor and Description |
---|
RequestHandlers(SolrCore core) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
SolrRequestHandler |
get(String handlerName) |
PluginBag<SolrRequestHandler> |
getRequestHandlers()
Returns an unmodifiable Map containing the registered handlers
|
static String |
normalize(String p)
Trim the trailing '/' if it's there, and convert null to empty string.
|
SolrRequestHandler |
register(String handlerName,
SolrRequestHandler handler)
Handlers must be initialized before calling this function.
|
protected final SolrCore core
public RequestHandlers(SolrCore core)
public static String normalize(String p)
public SolrRequestHandler get(String handlerName)
public SolrRequestHandler register(String handlerName, SolrRequestHandler handler)
public PluginBag<SolrRequestHandler> getRequestHandlers()
public void close()
Copyright © 2000-2017 Apache Software Foundation. All Rights Reserved.