org.apache.commons.httpclient.methods

Class FileRequestEntity

public class FileRequestEntity extends Object implements RequestEntity

A RequestEntity that represents a File.

Since: 3.1

Constructor Summary
FileRequestEntity(File file, String contentType)
Method Summary
longgetContentLength()
StringgetContentType()
booleanisRepeatable()
voidwriteRequest(OutputStream out)

Constructor Detail

FileRequestEntity

public FileRequestEntity(File file, String contentType)

Method Detail

getContentLength

public long getContentLength()

getContentType

public String getContentType()

isRepeatable

public boolean isRepeatable()

writeRequest

public void writeRequest(OutputStream out)
Copyright (c) 1999-2005 - Apache Software Foundation