In the Neo4j manual, in the section about unmanaged extensions can be read:
Neo4j’s Transactional Cypher HTTP endpoint (see Section 21.1, “Transactional Cypher HTTP endpoint”) streams responses back to the client and we should follow in its footsteps.
So that's exactly what I do BUT: What's the correct way to consume the response? Right now I just do:
Response.readEntity(String.class)
But I think that I'm not taking advantage of the streaming, I'm just consuming the entire result. Is there a better way to do this, or is the streaming just server side and I shouldn't worry about it?