@Override public NamedList<Object> processResponse(InputStream in, String encoding) { XMLStreamReader parser = null; try { parser = factory.createXMLStreamReader(in, encoding); } catch (XMLStreamException e) { throw new SolrException( SolrException.ErrorCode.SERVER_ERROR, "parsing error", e); } return processResponse(parser); }
@Override public NamedList<Object> processResponse(Reader in) { XMLStreamReader parser = null; try { parser = factory.createXMLStreamReader(in); } catch (XMLStreamException e) { throw new SolrException( SolrException.ErrorCode.SERVER_ERROR, "parsing error", e); } return processResponse(parser); }
@Override public NamedList<Object> processResponse(Reader in) { XMLStreamReader parser = null; try { parser = factory.createXMLStreamReader(in); } catch (XMLStreamException e) { throw new SolrException( SolrException.ErrorCode.SERVER_ERROR, "parsing error", e); } return processResponse(parser); }
@Override public NamedList<Object> processResponse(InputStream in, String encoding) { XMLStreamReader parser = null; try { parser = factory.createXMLStreamReader(in, encoding); } catch (XMLStreamException e) { throw new SolrException( SolrException.ErrorCode.SERVER_ERROR, "parsing error", e); } return processResponse(parser); }
@Override public NamedList<Object> processResponse(Reader in) { XMLStreamReader parser = null; try { parser = factory.createXMLStreamReader(in); } catch (XMLStreamException e) { throw new SolrException( SolrException.ErrorCode.SERVER_ERROR, "parsing error", e); } return processResponse(parser); }
@Override public NamedList<Object> processResponse(InputStream in, String encoding) { XMLStreamReader parser = null; try { parser = factory.createXMLStreamReader(in, encoding); } catch (XMLStreamException e) { throw new SolrException( SolrException.ErrorCode.SERVER_ERROR, "parsing error", e); } return processResponse(parser); }
InputStream instream = entity.getContent(); try { solrResp = (new XMLResponseParser()).processResponse(instream, "UTF-8"); } catch (RuntimeException ex) {