Class DelegationTokenRequest.Cancel
- java.lang.Object
-
- org.apache.solr.client.solrj.SolrRequest<R>
-
- org.apache.solr.client.solrj.request.DelegationTokenRequest<DelegationTokenRequest.Cancel,DelegationTokenResponse.Cancel>
-
- org.apache.solr.client.solrj.request.DelegationTokenRequest.Cancel
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- DelegationTokenRequest<Q extends DelegationTokenRequest<Q,R>,R extends DelegationTokenResponse>
public static class DelegationTokenRequest.Cancel extends DelegationTokenRequest<DelegationTokenRequest.Cancel,DelegationTokenResponse.Cancel>
- 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.Cancel
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.Cancel
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
-
Cancel
public Cancel(String token)
-
-
Method Detail
-
getThis
protected DelegationTokenRequest.Cancel getThis()
- Specified by:
getThis
in classDelegationTokenRequest<DelegationTokenRequest.Cancel,DelegationTokenResponse.Cancel>
-
getParams
public SolrParams getParams()
- Specified by:
getParams
in classSolrRequest<DelegationTokenResponse.Cancel>
-
createResponse
public DelegationTokenResponse.Cancel 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.Cancel,DelegationTokenResponse.Cancel>
- 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.Cancel>
-
-