Package org.apache.solr.util
Class SolrCLI.ApiTool
- java.lang.Object
-
- org.apache.solr.util.SolrCLI.ToolBase
-
- org.apache.solr.util.SolrCLI.ApiTool
-
- All Implemented Interfaces:
SolrCLI.Tool
- Enclosing class:
- SolrCLI
public static class SolrCLI.ApiTool extends SolrCLI.ToolBase
Used to send an arbitrary HTTP request to a Solr API endpoint.
-
-
Field Summary
-
Fields inherited from class org.apache.solr.util.SolrCLI.ToolBase
stdout, verbose
-
-
Constructor Summary
Constructors Constructor Description ApiTool()
ApiTool(PrintStream stdout)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getName()
org.apache.commons.cli.Option[]
getOptions()
protected void
runImpl(org.apache.commons.cli.CommandLine cli)
-
Methods inherited from class org.apache.solr.util.SolrCLI.ToolBase
echo, echoIfVerbose, runTool
-
-
-
-
Constructor Detail
-
ApiTool
public ApiTool()
-
ApiTool
public ApiTool(PrintStream stdout)
-
-
Method Detail
-
getName
public String getName()
-
getOptions
public org.apache.commons.cli.Option[] getOptions()
-
runImpl
protected void runImpl(org.apache.commons.cli.CommandLine cli) throws Exception
- Specified by:
runImpl
in classSolrCLI.ToolBase
- Throws:
Exception
-
-