Nuxeo ECM Projects 5.4.3-SNAPSHOT

org.nuxeo.ecm.core.storage.sql.net
Class ObjectWriterRequestEntity

java.lang.Object
  extended by org.nuxeo.ecm.core.storage.sql.net.ObjectWriterRequestEntity
All Implemented Interfaces:
RequestEntity

public class ObjectWriterRequestEntity
extends Object
implements RequestEntity

Class defining a RequestEntity that writes a list of object through an ObjectOutputStream.


Field Summary
 List<Object> queue
           
 
Constructor Summary
ObjectWriterRequestEntity()
           
 
Method Summary
 void add(String methodName, Object... objects)
           
 long getContentLength()
           
 String getContentType()
           
 boolean isRepeatable()
           
 void writeRequest(OutputStream out)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

queue

public final List<Object> queue
Constructor Detail

ObjectWriterRequestEntity

public ObjectWriterRequestEntity()
Method Detail

add

public void add(String methodName,
                Object... objects)

isRepeatable

public boolean isRepeatable()
Specified by:
isRepeatable in interface RequestEntity

writeRequest

public void writeRequest(OutputStream out)
                  throws IOException
Specified by:
writeRequest in interface RequestEntity
Throws:
IOException

getContentLength

public long getContentLength()
Specified by:
getContentLength in interface RequestEntity

getContentType

public String getContentType()
Specified by:
getContentType in interface RequestEntity

Nuxeo ECM Projects 5.4.3-SNAPSHOT

Copyright © 2011 Nuxeo SAS. All Rights Reserved.