public class SolrPing extends SolrRequest<SolrPingResponse>
SolrClient.
 To use this class, the solrconfig.xml for the relevant core must include the
 request handler for /admin/ping.SolrRequest.METHODSUPPORTED_METHODS, useBinaryV2, usev2| Constructor and Description | 
|---|
SolrPing()
Create a new SolrPing object. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected SolrPingResponse | 
createResponse(SolrClient client)
Create a new SolrResponse to hold the response from the server 
 | 
ModifiableSolrParams | 
getParams()  | 
SolrPing | 
removeAction()
Remove the action parameter from this request. 
 | 
SolrPing | 
setActionDisable()
Set the action parameter on this request to enable. 
 | 
SolrPing | 
setActionEnable()
Set the action parameter on this request to enable. 
 | 
SolrPing | 
setActionPing()
Set the action parameter on this request to ping. 
 | 
addHeader, getBasePath, getBasicAuthPassword, getBasicAuthUser, getCollection, getContentStreams, getContentWriter, getHeaders, getMethod, getPath, getQueryParams, getResponseParser, getStreamingResponseCallback, getUserPrincipal, process, process, setBasePath, setBasicAuthCredentials, setMethod, setPath, setQueryParams, setResponseParser, setStreamingResponseCallback, setUseBinaryV2, setUserPrincipal, setUseV2protected SolrPingResponse createResponse(SolrClient client)
SolrRequestcreateResponse in class SolrRequest<SolrPingResponse>client - the SolrClient the request will be sent topublic ModifiableSolrParams getParams()
getParams in class SolrRequest<SolrPingResponse>public SolrPing removeAction()
SolrPing#setActionPing(). For Solr server version 4.0
 and later.public SolrPing setActionDisable()
public SolrPing setActionEnable()
public SolrPing setActionPing()
Copyright © 2000-2020 Apache Software Foundation. All Rights Reserved.