org.apache.solr.handler.component
Class HttpShardHandlerFactory

java.lang.Object
  extended by org.apache.solr.handler.component.ShardHandlerFactory
      extended by org.apache.solr.handler.component.HttpShardHandlerFactory
All Implemented Interfaces:
PluginInfoInitialized

public class HttpShardHandlerFactory
extends ShardHandlerFactory
implements PluginInfoInitialized


Field Summary
protected static org.slf4j.Logger log
           
 String scheme
           
 
Constructor Summary
HttpShardHandlerFactory()
           
 
Method Summary
 void close()
           
 ShardHandler getShardHandler()
          Get ShardHandler that uses the default http client.
 ShardHandler getShardHandler(org.apache.http.client.HttpClient httpClient)
          Get ShardHandler that uses custom http client.
 void init(PluginInfo info)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

log

protected static org.slf4j.Logger log

scheme

public String scheme
Constructor Detail

HttpShardHandlerFactory

public HttpShardHandlerFactory()
Method Detail

getShardHandler

public ShardHandler getShardHandler()
Get ShardHandler that uses the default http client.

Specified by:
getShardHandler in class ShardHandlerFactory

getShardHandler

public ShardHandler getShardHandler(org.apache.http.client.HttpClient httpClient)
Get ShardHandler that uses custom http client.


init

public void init(PluginInfo info)
Specified by:
init in interface PluginInfoInitialized

close

public void close()
Specified by:
close in class ShardHandlerFactory


Copyright © 2000-2012 Apache Software Foundation. All Rights Reserved.