public class CollectionAdminRequest extends SolrRequest<CollectionAdminResponse>
SolrRequest.METHOD
Modifier and Type | Field and Description |
---|---|
protected CollectionParams.CollectionAction |
action |
Constructor and Description |
---|
CollectionAdminRequest() |
CollectionAdminRequest(String path) |
Modifier and Type | Method and Description |
---|---|
protected void |
addProperties(ModifiableSolrParams params,
Properties props) |
protected CollectionAdminResponse |
createResponse(SolrClient client)
Create a new SolrResponse to hold the response from the server
|
Collection<ContentStream> |
getContentStreams() |
SolrParams |
getParams() |
protected void |
setAction(CollectionParams.CollectionAction action) |
getMethod, getPath, getQueryParams, getResponseParser, getStreamingResponseCallback, process, process, setMethod, setPath, setQueryParams, setResponseParser, setStreamingResponseCallback
protected CollectionParams.CollectionAction action
public CollectionAdminRequest()
public CollectionAdminRequest(String path)
protected void setAction(CollectionParams.CollectionAction action)
public SolrParams getParams()
getParams
in class SolrRequest<CollectionAdminResponse>
public Collection<ContentStream> getContentStreams() throws IOException
getContentStreams
in class SolrRequest<CollectionAdminResponse>
IOException
protected CollectionAdminResponse createResponse(SolrClient client)
SolrRequest
createResponse
in class SolrRequest<CollectionAdminResponse>
client
- the SolrClient
the request will be sent toprotected void addProperties(ModifiableSolrParams params, Properties props)
Copyright © 2000-2015 Apache Software Foundation. All Rights Reserved.