Package org.apache.solr.rest
Class BaseSolrResource.SolrOutputRepresentation
- java.lang.Object
-
- org.restlet.representation.Variant
-
- org.restlet.representation.RepresentationInfo
-
- org.restlet.representation.Representation
-
- org.restlet.representation.StreamRepresentation
-
- org.restlet.representation.OutputRepresentation
-
- org.apache.solr.rest.BaseSolrResource.SolrOutputRepresentation
-
- Enclosing class:
- BaseSolrResource
public class BaseSolrResource.SolrOutputRepresentation extends org.restlet.representation.OutputRepresentation
This class serves as an adapter between Restlet and Solr's response writers.
-
-
Constructor Summary
Constructors Constructor Description SolrOutputRepresentation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
write(OutputStream outputStream)
Called by Restlet to get the response body-
Methods inherited from class org.restlet.representation.StreamRepresentation
getReader, write, write
-
Methods inherited from class org.restlet.representation.Representation
append, exhaust, getAvailableSize, getDigest, getDisposition, getExpirationDate, getRange, getRegistration, getSize, getText, hasKnownSize, isAvailable, isEmpty, isSelectable, isTransient, release, setAvailable, setDigest, setDisposition, setExpirationDate, setListener, setRange, setSize, setTransient
-
Methods inherited from class org.restlet.representation.RepresentationInfo
getModificationDate, getTag, setModificationDate, setTag
-
-
-
-
Method Detail
-
write
public void write(OutputStream outputStream) throws IOException
Called by Restlet to get the response body- Specified by:
write
in classorg.restlet.representation.Representation
- Throws:
IOException
-
-