Class DelegationTokenRequest.Renew
- java.lang.Object
-
- org.apache.solr.client.solrj.SolrRequest<R>
-
- org.apache.solr.client.solrj.request.DelegationTokenRequest<DelegationTokenRequest.Renew,DelegationTokenResponse.Renew>
-
- org.apache.solr.client.solrj.request.DelegationTokenRequest.Renew
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- DelegationTokenRequest<Q extends DelegationTokenRequest<Q,R>,R extends DelegationTokenResponse>
public static class DelegationTokenRequest.Renew extends DelegationTokenRequest<DelegationTokenRequest.Renew,DelegationTokenResponse.Renew>
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.apache.solr.client.solrj.request.DelegationTokenRequest
DelegationTokenRequest.Cancel, DelegationTokenRequest.Get, DelegationTokenRequest.Renew
-
Nested classes/interfaces inherited from class org.apache.solr.client.solrj.SolrRequest
SolrRequest.METHOD, SolrRequest.SolrClientContext, SolrRequest.SolrRequestType
-
-
Field Summary
Fields Modifier and Type Field Description protected String
token
-
Fields inherited from class org.apache.solr.client.solrj.request.DelegationTokenRequest
OP_KEY, TOKEN_KEY
-
Fields inherited from class org.apache.solr.client.solrj.SolrRequest
SUPPORTED_METHODS, useBinaryV2, usev2
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DelegationTokenResponse.Renew
createResponse(SolrClient client)
Create a new SolrResponse to hold the response from the serverSolrParams
getParams()
String
getRequestType()
This method defines the type of this Solr request.protected DelegationTokenRequest.Renew
getThis()
-
Methods inherited from class org.apache.solr.client.solrj.SolrRequest
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, setUseV2
-
-
-
-
Field Detail
-
token
protected String token
-
-
Constructor Detail
-
Renew
public Renew(String token)
-
-
Method Detail
-
getThis
protected DelegationTokenRequest.Renew getThis()
- Specified by:
getThis
in classDelegationTokenRequest<DelegationTokenRequest.Renew,DelegationTokenResponse.Renew>
-
getParams
public SolrParams getParams()
- Specified by:
getParams
in classSolrRequest<DelegationTokenResponse.Renew>
-
createResponse
public DelegationTokenResponse.Renew createResponse(SolrClient client)
Description copied from class:SolrRequest
Create a new SolrResponse to hold the response from the server- Specified by:
createResponse
in classDelegationTokenRequest<DelegationTokenRequest.Renew,DelegationTokenResponse.Renew>
- Parameters:
client
- theSolrClient
the request will be sent to
-
getRequestType
public String getRequestType()
Description copied from class:SolrRequest
This method defines the type of this Solr request.- Specified by:
getRequestType
in classSolrRequest<DelegationTokenResponse.Renew>
-
-