org.neo4j.server.rest.web
Class StreamingBatchOperations

java.lang.Object
  extended by org.neo4j.server.rest.batch.BatchOperations
      extended by org.neo4j.server.rest.web.StreamingBatchOperations

public class StreamingBatchOperations
extends BatchOperations


Field Summary
 
Fields inherited from class org.neo4j.server.rest.batch.BatchOperations
BODY_KEY, ID_KEY, jsonFactory, mapper, METHOD_KEY, TO_KEY, webServer
 
Constructor Summary
StreamingBatchOperations(WebServer webServer)
           
 
Method Summary
protected  void addHeaders(InternalJettyServletRequest res, javax.ws.rs.core.HttpHeaders httpHeaders)
           
protected  void invoke(String method, String path, String body, Integer id, URI targetUri, InternalJettyServletRequest req, InternalJettyServletResponse res)
           
 void readAndExecuteOperations(javax.ws.rs.core.UriInfo uriInfo, javax.ws.rs.core.HttpHeaders httpHeaders, InputStream body, javax.servlet.ServletOutputStream output)
           
 
Methods inherited from class org.neo4j.server.rest.batch.BatchOperations
calculateTargetUri, is2XXStatusCode, parseAndPerform, performRequest, replaceLocationPlaceholders
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StreamingBatchOperations

public StreamingBatchOperations(WebServer webServer)
Method Detail

readAndExecuteOperations

public void readAndExecuteOperations(javax.ws.rs.core.UriInfo uriInfo,
                                     javax.ws.rs.core.HttpHeaders httpHeaders,
                                     InputStream body,
                                     javax.servlet.ServletOutputStream output)
                              throws IOException,
                                     javax.servlet.ServletException
Throws:
IOException
javax.servlet.ServletException

invoke

protected void invoke(String method,
                      String path,
                      String body,
                      Integer id,
                      URI targetUri,
                      InternalJettyServletRequest req,
                      InternalJettyServletResponse res)
               throws IOException,
                      javax.servlet.ServletException
Specified by:
invoke in class BatchOperations
Throws:
IOException
javax.servlet.ServletException

addHeaders

protected void addHeaders(InternalJettyServletRequest res,
                          javax.ws.rs.core.HttpHeaders httpHeaders)
Overrides:
addHeaders in class BatchOperations


Copyright © 2002-2013 The Neo4j Graph Database Project. All Rights Reserved.