Class DelegationTokenResponse.JsonMapResponseParser
- java.lang.Object
-
- org.apache.solr.client.solrj.ResponseParser
-
- org.apache.solr.client.solrj.response.DelegationTokenResponse.JsonMapResponseParser
-
- Enclosing class:
- DelegationTokenResponse
public static class DelegationTokenResponse.JsonMapResponseParser extends ResponseParser
ResponseParser for JsonMaps. Used for Get and Renew DelegationToken responses.
-
-
Constructor Summary
Constructors Constructor Description JsonMapResponseParser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getContentType()
A well behaved ResponseParser will return its content-type.String
getVersion()
String
getWriterType()
NamedList<Object>
processResponse(InputStream body, String encoding)
NamedList<Object>
processResponse(Reader reader)
-
-
-
Method Detail
-
getWriterType
public String getWriterType()
- Specified by:
getWriterType
in classResponseParser
-
processResponse
public NamedList<Object> processResponse(InputStream body, String encoding)
- Specified by:
processResponse
in classResponseParser
-
processResponse
public NamedList<Object> processResponse(Reader reader)
- Specified by:
processResponse
in classResponseParser
-
getContentType
public String getContentType()
Description copied from class:ResponseParser
A well behaved ResponseParser will return its content-type.- Overrides:
getContentType
in classResponseParser
- Returns:
- the content-type this parser expects to parse
-
getVersion
public String getVersion()
- Overrides:
getVersion
in classResponseParser
- Returns:
- the version param passed to solr
-
-