public abstract class CollectionAdminRequest<Q extends CollectionAdminRequest<Q>> 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 abstract Q |
getThis() |
protected CollectionAdminRequest |
setAction(CollectionParams.CollectionAction action) |
getBasicAuthPassword, getBasicAuthUser, getMethod, getPath, getQueryParams, getResponseParser, getStreamingResponseCallback, process, process, setBasicAuthCredentials, setMethod, setPath, setQueryParams, setResponseParser, setStreamingResponseCallback
protected CollectionParams.CollectionAction action
public CollectionAdminRequest()
public CollectionAdminRequest(String path)
protected CollectionAdminRequest setAction(CollectionParams.CollectionAction action)
protected abstract Q getThis()
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-2016 Apache Software Foundation. All Rights Reserved.