public abstract class ContentStreamLoader extends Object
ContentStream
into SolrConstructor and Description |
---|
ContentStreamLoader() |
Modifier and Type | Method and Description |
---|---|
String |
getErrHeader() |
abstract void |
load(SolrQueryRequest req,
SolrQueryResponse rsp,
ContentStream stream)
Loaders are responsible for closing the stream
|
void |
setErrHeader(String errHeader) |
protected String errHeader
public String getErrHeader()
public void setErrHeader(String errHeader)
public abstract void load(SolrQueryRequest req, SolrQueryResponse rsp, ContentStream stream) throws Exception
req
- The input SolrQueryRequest
rsp
- The response, in case the Loader wishes to add anythingstream
- The ContentStream
to addException
Copyright © 2000-2019 Apache Software Foundation. All Rights Reserved.