public interface ResponseSetter<T>
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addError(int code,
String message) |
void |
addError(int code,
Throwable ex) |
void |
addError(Throwable ex) |
T |
buildProtocolResponse() |
OutputStream |
getResponseOutputStream() |
org.apache.solr.response.SolrQueryResponse |
getSolrQueryResponse() |
void |
setContentType(String contentType) |
void |
setSolrResponseException(int code,
org.apache.solr.common.util.NamedList info) |
void |
writeQueryResponseComplete(org.apache.solr.response.SolrQueryResponse solrQueryResponse)
after writeQueryResponse call this method
|
void setContentType(String contentType)
OutputStream getResponseOutputStream()
void setSolrResponseException(int code,
org.apache.solr.common.util.NamedList info)
void addError(int code,
String message)
void addError(int code,
Throwable ex)
void addError(Throwable ex)
void writeQueryResponseComplete(org.apache.solr.response.SolrQueryResponse solrQueryResponse)
org.apache.solr.response.SolrQueryResponse getSolrQueryResponse()
T buildProtocolResponse()
Copyright © 2017 vootoo. All rights reserved.