org.openrdf.http.object.model
Class FileHttpEntity

java.lang.Object
  extended by org.apache.http.entity.AbstractHttpEntity
      extended by org.apache.http.entity.FileEntity
          extended by org.openrdf.http.object.model.FileHttpEntity
All Implemented Interfaces:
Cloneable, org.apache.http.HttpEntity

public class FileHttpEntity
extends org.apache.http.entity.FileEntity

Uses a File as the message body.

Author:
James Leigh

Field Summary
 
Fields inherited from class org.apache.http.entity.AbstractHttpEntity
chunked, contentEncoding, contentType
 
Constructor Summary
FileHttpEntity(File file, String contentType)
           
 
Method Summary
 File getFile()
           
 
Methods inherited from class org.apache.http.entity.FileEntity
clone, getContent, getContentLength, isRepeatable, isStreaming, writeTo
 
Methods inherited from class org.apache.http.entity.AbstractHttpEntity
consumeContent, getContentEncoding, getContentType, isChunked, setChunked, setContentEncoding, setContentEncoding, setContentType, setContentType
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileHttpEntity

public FileHttpEntity(File file,
                      String contentType)
Method Detail

getFile

public File getFile()


Copyright © 2004-2010 James Leigh Services Inc.. All Rights Reserved.