mirror of https://github.com/apache/lucene.git
SOLR-1602 wrappup - adding deprecations and warning log messages to response writers in the o.a.s.request package
git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@950835 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
0c2228e0bf
commit
510e9b1563
|
@ -332,6 +332,10 @@ Bug Fixes
|
|||
Other Changes
|
||||
----------------------
|
||||
|
||||
* SOLR-1602: Refactor SOLR package structure to include o.a.solr.response
|
||||
and move QueryResponseWriters in there
|
||||
(Chris A. Mattmann, ryan, hoss)
|
||||
|
||||
* SOLR-1516: Addition of an abstract BaseResponseWriter class to simplify the
|
||||
development of QueryResponseWriter implementations.
|
||||
(Chris A. Mattmann via noble)
|
||||
|
|
|
@ -16,11 +16,19 @@
|
|||
*/
|
||||
package org.apache.solr.request;
|
||||
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
|
||||
/**
|
||||
* @deprecated use org.apache.solr.response.BinaryResponseWriter
|
||||
*/
|
||||
public class BinaryResponseWriter extends org.apache.solr.response.BinaryResponseWriter
|
||||
{
|
||||
|
||||
private static Logger log = LoggerFactory.getLogger(BinaryResponseWriter.class.getName());
|
||||
|
||||
public BinaryResponseWriter(){
|
||||
super();
|
||||
log.warn(BinaryResponseWriter.class.getName()+" is deprecated. Please use the corresponding class in org.apache.solr.response");
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,11 +16,21 @@
|
|||
*/
|
||||
package org.apache.solr.request;
|
||||
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
|
||||
/**
|
||||
* @deprecated use org.apache.solr.response.JSONResponseWriter
|
||||
*/
|
||||
public class JSONResponseWriter extends org.apache.solr.response.JSONResponseWriter
|
||||
{
|
||||
|
||||
|
||||
private static Logger log = LoggerFactory.getLogger(JSONResponseWriter.class.getName());
|
||||
|
||||
public JSONResponseWriter(){
|
||||
super();
|
||||
log.warn(JSONResponseWriter.class.getName()+" is deprecated. Please use the corresponding class in org.apache.solr.response");
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,11 +16,22 @@
|
|||
*/
|
||||
package org.apache.solr.request;
|
||||
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
|
||||
/**
|
||||
* @deprecated use org.apache.solr.response.PHPResponseWriter
|
||||
*/
|
||||
public class PHPResponseWriter extends org.apache.solr.response.PHPResponseWriter
|
||||
{
|
||||
private static Logger log = LoggerFactory.getLogger(PHPResponseWriter.class.getName());
|
||||
|
||||
|
||||
public PHPResponseWriter(){
|
||||
super();
|
||||
log.warn(PHPResponseWriter.class.getName()+" is deprecated. Please use the corresponding class in org.apache.solr.response");
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -16,11 +16,20 @@
|
|||
*/
|
||||
package org.apache.solr.request;
|
||||
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
|
||||
/**
|
||||
* @deprecated use org.apache.solr.response.PHPSerializedResponseWriter
|
||||
*/
|
||||
public class PHPSerializedResponseWriter extends org.apache.solr.response.PHPSerializedResponseWriter
|
||||
{
|
||||
|
||||
private static Logger log = LoggerFactory.getLogger(PHPSerializedResponseWriter.class.getName());
|
||||
|
||||
public PHPSerializedResponseWriter(){
|
||||
super();
|
||||
log.warn(PHPSerializedResponseWriter.class.getName()+" is deprecated. Please use the corresponding class in org.apache.solr.response");
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,11 +16,20 @@
|
|||
*/
|
||||
package org.apache.solr.request;
|
||||
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
|
||||
/**
|
||||
* @deprecated use org.apache.solr.response.PythonResponseWriter
|
||||
*/
|
||||
public class PythonResponseWriter extends org.apache.solr.response.PythonResponseWriter
|
||||
{
|
||||
|
||||
private static Logger log = LoggerFactory.getLogger(PythonResponseWriter.class.getName());
|
||||
|
||||
public PythonResponseWriter(){
|
||||
super();
|
||||
log.warn(PythonResponseWriter.class.getName()+" is deprecated. Please use the corresponding class in org.apache.solr.response");
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,11 +16,21 @@
|
|||
*/
|
||||
package org.apache.solr.request;
|
||||
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
|
||||
/**
|
||||
* @deprecated use org.apache.solr.response.RawResponseWriter
|
||||
*/
|
||||
public class RawResponseWriter extends org.apache.solr.response.RawResponseWriter
|
||||
{
|
||||
|
||||
private static Logger log = LoggerFactory.getLogger(RawResponseWriter.class.getName());
|
||||
|
||||
|
||||
public RawResponseWriter(){
|
||||
super();
|
||||
log.warn(RawResponseWriter.class.getName()+" is deprecated. Please use the corresponding class in org.apache.solr.response");
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,11 +16,21 @@
|
|||
*/
|
||||
package org.apache.solr.request;
|
||||
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
|
||||
/**
|
||||
* @deprecated use org.apache.solr.response.RubyResponseWriter
|
||||
*/
|
||||
public class RubyResponseWriter extends org.apache.solr.response.RubyResponseWriter
|
||||
{
|
||||
|
||||
private static Logger log = LoggerFactory.getLogger(RubyResponseWriter.class.getName());
|
||||
|
||||
|
||||
public RubyResponseWriter(){
|
||||
super();
|
||||
log.warn(RubyResponseWriter.class.getName()+" is deprecated. Please use the corresponding class in org.apache.solr.response");
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,11 +16,19 @@
|
|||
*/
|
||||
package org.apache.solr.request;
|
||||
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
|
||||
/**
|
||||
* @deprecated use org.apache.solr.response.SolrQueryResponse
|
||||
*/
|
||||
public class SolrQueryResponse extends org.apache.solr.response.SolrQueryResponse
|
||||
{
|
||||
|
||||
private static Logger log = LoggerFactory.getLogger(SolrQueryResponse.class.getName());
|
||||
|
||||
public SolrQueryResponse() {
|
||||
super();
|
||||
log.warn(SolrQueryResponse.class.getName()+" is deprecated. Please use the corresponding class in org.apache.solr.response");
|
||||
}
|
||||
}
|
||||
|
|
|
@ -19,6 +19,8 @@ package org.apache.solr.request;
|
|||
import java.io.Writer;
|
||||
|
||||
import org.apache.solr.response.SolrQueryResponse;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
|
||||
/**
|
||||
|
@ -26,7 +28,10 @@ import org.apache.solr.response.SolrQueryResponse;
|
|||
*/
|
||||
public abstract class TextResponseWriter extends org.apache.solr.response.TextResponseWriter
|
||||
{
|
||||
private static Logger log = LoggerFactory.getLogger(TextResponseWriter.class.getName());
|
||||
|
||||
public TextResponseWriter(Writer writer, SolrQueryRequest req, SolrQueryResponse rsp) {
|
||||
super(writer, req, rsp);
|
||||
log.warn(TextResponseWriter.class.getName()+" is deprecated. Please use the corresponding class in org.apache.solr.response");
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,11 +16,21 @@
|
|||
*/
|
||||
package org.apache.solr.request;
|
||||
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
|
||||
/**
|
||||
* @deprecated use org.apache.solr.response.XMLResponseWriter
|
||||
*/
|
||||
public class XMLResponseWriter extends org.apache.solr.response.XMLResponseWriter
|
||||
{
|
||||
|
||||
private static Logger log = LoggerFactory.getLogger(XMLResponseWriter.class.getName());
|
||||
|
||||
|
||||
public XMLResponseWriter(){
|
||||
super();
|
||||
log.warn(XMLResponseWriter.class.getName()+" is deprecated. Please use the corresponding class in org.apache.solr.response");
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,11 +16,21 @@
|
|||
*/
|
||||
package org.apache.solr.request;
|
||||
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
|
||||
|
||||
/**
|
||||
* @deprecated use org.apache.solr.response.XSLTResponseWriter
|
||||
*/
|
||||
public class XSLTResponseWriter extends org.apache.solr.response.XSLTResponseWriter
|
||||
{
|
||||
|
||||
private static Logger log = LoggerFactory.getLogger(XSLTResponseWriter.class.getName());
|
||||
|
||||
|
||||
public XSLTResponseWriter(){
|
||||
super();
|
||||
log.warn(XSLTResponseWriter.class.getName()+" is deprecated. Please use the corresponding class in org.apache.solr.response");
|
||||
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue