public interface ResponseSetter<T>
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addError(int code,
java.lang.String message) |
void |
addError(int code,
java.lang.Throwable ex) |
void |
addError(java.lang.Throwable ex) |
T |
buildProtocolResponse() |
java.io.OutputStream |
getResponseOutputStream() |
org.apache.solr.response.SolrQueryResponse |
getSolrQueryResponse() |
void |
setContentType(java.lang.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(java.lang.String contentType)
java.io.OutputStream getResponseOutputStream()
void setSolrResponseException(int code,
org.apache.solr.common.util.NamedList info)
void addError(int code,
java.lang.String message)
void addError(int code,
java.lang.Throwable ex)
void addError(java.lang.Throwable ex)
void writeQueryResponseComplete(org.apache.solr.response.SolrQueryResponse solrQueryResponse)
org.apache.solr.response.SolrQueryResponse getSolrQueryResponse()
T buildProtocolResponse()
Copyright © 2016. All Rights Reserved.