List of usage examples for org.apache.http.entity FileEntity isChunked
public boolean isChunked()
From source file:org.ellis.yun.search.test.httpclient.HttpClientTest.java
@Test public void testEntityChunk() throws Exception { File file = new File("src/test/resources/README.txt"); @SuppressWarnings("deprecation") FileEntity entity = new FileEntity(file, "text/plain; charset=\"UTF-8\""); entity.setChunked(true);//from ww w.j a v a2s . c o m System.out.println(entity.isChunked() + ""); }