protected void addInputStreamOrReader(Object inputStreamOrReader, String baseURI, RDFFormat dataFormat,
Resource... contexts)
throws IOException, RDFParseException, StoreException
{
if (repository.isReadOnly()) {
throw new RepositoryReadOnlyException();
}
// Send bytes directly to the server
flush();
StatementClient httpClient = client.statements();
if (inputStreamOrReader instanceof InputStream) {