Nuxeo Enterprise Platform 5.4

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

java.lang.Object
  extended by org.nuxeo.ecm.core.storage.sql.net.BinaryRequestEntity
All Implemented Interfaces:
org.apache.commons.httpclient.methods.RequestEntity

public class BinaryRequestEntity
extends Object
implements org.apache.commons.httpclient.methods.RequestEntity

Class defining a RequestEntity that writes from a Binary.


Constructor Summary
BinaryRequestEntity(Binary binary)
           
 
Method Summary
 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
 

Constructor Detail

BinaryRequestEntity

public BinaryRequestEntity(Binary binary)
Method Detail

isRepeatable

public boolean isRepeatable()
Specified by:
isRepeatable in interface org.apache.commons.httpclient.methods.RequestEntity

writeRequest

public void writeRequest(OutputStream out)
                  throws IOException
Specified by:
writeRequest in interface org.apache.commons.httpclient.methods.RequestEntity
Throws:
IOException

getContentLength

public long getContentLength()
Specified by:
getContentLength in interface org.apache.commons.httpclient.methods.RequestEntity

getContentType

public String getContentType()
Specified by:
getContentType in interface org.apache.commons.httpclient.methods.RequestEntity

Nuxeo Enterprise Platform 5.4

Copyright © 2011 Nuxeo SAS. All Rights Reserved.