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 |
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
|
Collection<ContentStream> |
getContentStreams() |
protected abstract Q |
getThis() |
getBasicAuthPassword, getBasicAuthUser, getMethod, getParams, getPath, getQueryParams, getResponseParser, getStreamingResponseCallback, process, process, setBasicAuthCredentials, setMethod, setPath, setQueryParams, setResponseParser, setStreamingResponseCallback
protected static final String OP_KEY
protected static final String TOKEN_KEY
public DelegationTokenRequest(SolrRequest.METHOD m)
protected abstract Q getThis()
public Collection<ContentStream> getContentStreams() throws IOException
getContentStreams
in class SolrRequest<R extends DelegationTokenResponse>
IOException
protected abstract R createResponse(SolrClient client)
SolrRequest
createResponse
in class SolrRequest<R extends DelegationTokenResponse>
client
- the SolrClient
the request will be sent toCopyright © 2000-2017 Apache Software Foundation. All Rights Reserved.