public abstract class DelegationTokenRequest<Q extends DelegationTokenRequest<Q,R>,R extends DelegationTokenResponse> extends SolrRequest<R>
Modifier and Type | Class and Description |
---|---|
static class |
DelegationTokenRequest.Cancel |
static class |
DelegationTokenRequest.Get |
static class |
DelegationTokenRequest.Renew |
SolrRequest.METHOD
Modifier and Type | Field and Description |
---|---|
protected static String |
OP_KEY |
protected static String |
TOKEN_KEY |
SUPPORTED_METHODS, useBinaryV2, usev2
Constructor and Description |
---|
DelegationTokenRequest(SolrRequest.METHOD m) |
Modifier and Type | Method and Description |
---|---|
protected abstract R |
createResponse(SolrClient client)
Create a new SolrResponse to hold the response from the server
|
protected abstract Q |
getThis() |
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
protected static final String OP_KEY
protected static final String TOKEN_KEY
public DelegationTokenRequest(SolrRequest.METHOD m)
protected abstract Q getThis()
protected abstract R createResponse(SolrClient client)
SolrRequest
createResponse
in class SolrRequest<R extends DelegationTokenResponse>
client
- the SolrClient
the request will be sent toCopyright © 2000-2019 Apache Software Foundation. All Rights Reserved.