public class HttpShardHandlerFactory extends ShardHandlerFactory implements PluginInfoInitialized
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
log |
String |
scheme |
| Constructor and Description |
|---|
HttpShardHandlerFactory() |
| Modifier and Type | Method and Description |
|---|---|
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) |
protected static org.slf4j.Logger log
public String scheme
public ShardHandler getShardHandler()
ShardHandler that uses the default http client.getShardHandler in class ShardHandlerFactorypublic ShardHandler getShardHandler(org.apache.http.client.HttpClient httpClient)
ShardHandler that uses custom http client.public void init(PluginInfo info)
init in interface PluginInfoInitializedpublic void close()
close in class ShardHandlerFactoryCopyright © 2000-2012 Apache Software Foundation. All Rights Reserved.