org.apache.solr.core
Class RequestHandlers
java.lang.Object
org.apache.solr.core.RequestHandlers
public final class RequestHandlers
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
log
public static org.slf4j.Logger log
core
protected final SolrCore core
RequestHandlers
public RequestHandlers(SolrCore core)
get
public SolrRequestHandler get(String handlerName)
- Returns:
- the RequestHandler registered at the given name
getAll
public Map<String,SolrRequestHandler> getAll(Class clazz)
- Returns:
- a Map of all registered handlers of the specified type.
register
public SolrRequestHandler register(String handlerName,
SolrRequestHandler handler)
- Handlers must be initialized before calling this function. As soon as this is
called, the handler can immediately accept requests.
This call is thread safe.
- Returns:
- the previous handler at the given path or null
getRequestHandlers
public Map<String,SolrRequestHandler> getRequestHandlers()
- Returns an unmodifiable Map containing the registered handlers
Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.