public class

FileNIOEntity

extends FileEntity
implements HttpNIOEntity
java.lang.Object
   ↳ org.apache.http.entity.AbstractHttpEntity
     ↳ org.apache.http.entity.FileEntity
       ↳ org.apache.http.nio.entity.FileNIOEntity

This class is deprecated.
Use NFileEntity

Class Overview

An entity whose content is retrieved from from a file. In addition to the standard HttpEntity interface this class also implements NIO specific HttpNIOEntity.

Summary

[Expand]
Inherited Fields
From class org.apache.http.entity.FileEntity
From class org.apache.http.entity.AbstractHttpEntity
Public Constructors
FileNIOEntity(File file, String contentType)
Public Methods
ReadableByteChannel getChannel()
[Expand]
Inherited Methods
From class org.apache.http.entity.FileEntity
From class org.apache.http.entity.AbstractHttpEntity
From class java.lang.Object
From interface org.apache.http.HttpEntity
From interface org.apache.http.nio.entity.HttpNIOEntity

Public Constructors

public FileNIOEntity (File file, String contentType)

Public Methods

public ReadableByteChannel getChannel ()

Throws
IOException