Package org.apache.solr.jersey
Class MessageBodyWriters.XmlMessageBodyWriter
- java.lang.Object
-
- org.apache.solr.jersey.MessageBodyWriters.BaseMessageBodyWriter
-
- org.apache.solr.jersey.MessageBodyWriters.XmlMessageBodyWriter
-
- All Implemented Interfaces:
javax.ws.rs.ext.MessageBodyWriter<Object>
- Enclosing class:
- MessageBodyWriters
@Produces("application/xml") public static class MessageBodyWriters.XmlMessageBodyWriter extends MessageBodyWriters.BaseMessageBodyWriter implements javax.ws.rs.ext.MessageBodyWriter<Object>
-
-
Field Summary
-
Fields inherited from class org.apache.solr.jersey.MessageBodyWriters.BaseMessageBodyWriter
resourceContext
-
-
Constructor Summary
Constructors Constructor Description XmlMessageBodyWriter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QueryResponseWriter
createResponseWriter()
String
getSupportedMediaType()
-
Methods inherited from class org.apache.solr.jersey.MessageBodyWriters.BaseMessageBodyWriter
isWriteable, writeTo
-
-
-
-
Method Detail
-
createResponseWriter
public QueryResponseWriter createResponseWriter()
- Specified by:
createResponseWriter
in classMessageBodyWriters.BaseMessageBodyWriter
-
getSupportedMediaType
public String getSupportedMediaType()
- Specified by:
getSupportedMediaType
in classMessageBodyWriters.BaseMessageBodyWriter
-
-