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 Stringtoken-
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.RenewcreateResponse(SolrClient client)Create a new SolrResponse to hold the response from the serverSolrParamsgetParams()StringgetRequestType()This method defines the type of this Solr request.protected DelegationTokenRequest.RenewgetThis()-
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:
getThisin classDelegationTokenRequest<DelegationTokenRequest.Renew,DelegationTokenResponse.Renew>
-
getParams
public SolrParams getParams()
- Specified by:
getParamsin classSolrRequest<DelegationTokenResponse.Renew>
-
createResponse
public DelegationTokenResponse.Renew createResponse(SolrClient client)
Description copied from class:SolrRequestCreate a new SolrResponse to hold the response from the server- Specified by:
createResponsein classDelegationTokenRequest<DelegationTokenRequest.Renew,DelegationTokenResponse.Renew>- Parameters:
client- theSolrClientthe request will be sent to
-
getRequestType
public String getRequestType()
Description copied from class:SolrRequestThis method defines the type of this Solr request.- Specified by:
getRequestTypein classSolrRequest<DelegationTokenResponse.Renew>
-
-