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 ShardHandlerFactory
public ShardHandler getShardHandler(org.apache.http.client.HttpClient httpClient)
ShardHandler
that uses custom http client.public void init(PluginInfo info)
init
in interface PluginInfoInitialized
public void close()
close
in class ShardHandlerFactory
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.