Class DelegationTokenRequest<Q extends DelegationTokenRequest<Q,R>,R extends DelegationTokenResponse>
- java.lang.Object
-
- org.apache.solr.client.solrj.SolrRequest<R>
-
- org.apache.solr.client.solrj.request.DelegationTokenRequest<Q,R>
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DelegationTokenRequest.Cancel,DelegationTokenRequest.Get,DelegationTokenRequest.Renew
public abstract class DelegationTokenRequest<Q extends DelegationTokenRequest<Q,R>,R extends DelegationTokenResponse> extends SolrRequest<R>
Class for making Solr delegation token requests.- Since:
- Solr 6.2
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDelegationTokenRequest.Cancelstatic classDelegationTokenRequest.Getstatic classDelegationTokenRequest.Renew-
Nested classes/interfaces inherited from class org.apache.solr.client.solrj.SolrRequest
SolrRequest.METHOD
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringOP_KEYprotected static StringTOKEN_KEY-
Fields inherited from class org.apache.solr.client.solrj.SolrRequest
SUPPORTED_METHODS, useBinaryV2, usev2
-
-
Constructor Summary
Constructors Constructor Description DelegationTokenRequest(SolrRequest.METHOD m)
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description protected abstract RcreateResponse(SolrClient client)Create a new SolrResponse to hold the response from the serverprotected abstract QgetThis()-
Methods inherited from class org.apache.solr.client.solrj.SolrRequest
addHeader, getBasePath, getBasicAuthPassword, getBasicAuthUser, getCollection, getContentStreams, getContentWriter, getHeaders, getMethod, getParams, getPath, getQueryParams, getResponseParser, getStreamingResponseCallback, getUserPrincipal, process, process, setBasePath, setBasicAuthCredentials, setMethod, setPath, setQueryParams, setResponseParser, setStreamingResponseCallback, setUseBinaryV2, setUserPrincipal, setUseV2
-
-
-
-
Field Detail
-
OP_KEY
protected static final String OP_KEY
- See Also:
- Constant Field Values
-
TOKEN_KEY
protected static final String TOKEN_KEY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
DelegationTokenRequest
public DelegationTokenRequest(SolrRequest.METHOD m)
-
-
Method Detail
-
getThis
protected abstract Q getThis()
-
createResponse
protected abstract R createResponse(SolrClient client)
Description copied from class:SolrRequestCreate a new SolrResponse to hold the response from the server- Specified by:
createResponsein classSolrRequest<R extends DelegationTokenResponse>- Parameters:
client- theSolrClientthe request will be sent to
-
-