public abstract class SolrRequest extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
SolrRequest.METHOD |
Constructor and Description |
---|
SolrRequest(SolrRequest.METHOD m,
String path) |
Modifier and Type | Method and Description |
---|---|
abstract Collection<ContentStream> |
getContentStreams() |
SolrRequest.METHOD |
getMethod() |
abstract SolrParams |
getParams() |
String |
getPath() |
ResponseParser |
getResponseParser() |
abstract SolrResponse |
process(SolrServer server) |
void |
setMethod(SolrRequest.METHOD method) |
void |
setPath(String path) |
void |
setResponseParser(ResponseParser responseParser)
Optionally specify how the Response should be parsed.
|
public SolrRequest(SolrRequest.METHOD m, String path)
public SolrRequest.METHOD getMethod()
public void setMethod(SolrRequest.METHOD method)
public String getPath()
public void setPath(String path)
public ResponseParser getResponseParser()
ResponseParser
public void setResponseParser(ResponseParser responseParser)
responseParser
- The ResponseParser
public abstract SolrParams getParams()
public abstract Collection<ContentStream> getContentStreams() throws IOException
IOException
public abstract SolrResponse process(SolrServer server) throws SolrServerException, IOException
SolrServerException
IOException