org.neo4j.server.rest.batch
Class StreamingBatchOperationResults

java.lang.Object
  extended by org.neo4j.server.rest.batch.StreamingBatchOperationResults

public class StreamingBatchOperationResults
extends Object


Field Summary
static int HEAD_BUFFER
           
static int IS_ERROR
           
 
Constructor Summary
StreamingBatchOperationResults(org.codehaus.jackson.JsonGenerator g, javax.servlet.ServletOutputStream output)
           
 
Method Summary
 void addOperationResult(int status, Integer id, String location)
           
 void close()
           
 Map<Integer,String> getLocations()
           
 javax.servlet.ServletOutputStream getServletOutputStream()
           
 void startOperation(String from, Integer id)
           
 void writeError(int status, String message)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HEAD_BUFFER

public static final int HEAD_BUFFER
See Also:
Constant Field Values

IS_ERROR

public static final int IS_ERROR
See Also:
Constant Field Values
Constructor Detail

StreamingBatchOperationResults

public StreamingBatchOperationResults(org.codehaus.jackson.JsonGenerator g,
                                      javax.servlet.ServletOutputStream output)
                               throws IOException
Throws:
IOException
Method Detail

startOperation

public void startOperation(String from,
                           Integer id)
                    throws IOException
Throws:
IOException

addOperationResult

public void addOperationResult(int status,
                               Integer id,
                               String location)
                        throws IOException
Throws:
IOException

getServletOutputStream

public javax.servlet.ServletOutputStream getServletOutputStream()

getLocations

public Map<Integer,String> getLocations()

close

public void close()
           throws IOException
Throws:
IOException

writeError

public void writeError(int status,
                       String message)
                throws IOException
Throws:
IOException


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