Nuxeo Enterprise Platform 5.4

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 java.lang.Object
implements RequestEntity

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


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

Field Detail

queue

public final java.util.List<java.lang.Object> queue
Constructor Detail

ObjectWriterRequestEntity

public ObjectWriterRequestEntity()
Method Detail

add

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

isRepeatable

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

writeRequest

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

getContentLength

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

getContentType

public java.lang.String getContentType()
Specified by:
getContentType in interface RequestEntity

Nuxeo Enterprise Platform 5.4

Copyright © 2010 Nuxeo SAS. All Rights Reserved.