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() |
StreamingResponseCallback |
getStreamingResponseCallback() |
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.
|
void |
setStreamingResponseCallback(StreamingResponseCallback callback) |
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 StreamingResponseCallback getStreamingResponseCallback()
public void setStreamingResponseCallback(StreamingResponseCallback callback)
public abstract SolrParams getParams()
public abstract Collection<ContentStream> getContentStreams() throws IOException
IOException
public abstract SolrResponse process(SolrServer server) throws SolrServerException, IOException
SolrServerException
IOException
Copyright © 2000-2013 Apache Software Foundation. All Rights Reserved.