public class UserBody extends PostBody
Constructor and Description |
---|
UserBody(Env env,
CurlResource curl,
Callable callback,
BinaryInput file,
long length) |
Modifier and Type | Method and Description |
---|---|
long |
getContentLength() |
java.lang.String |
getContentType() |
boolean |
isChunked() |
void |
writeTo(Env env,
java.io.OutputStream os) |
public UserBody(Env env, CurlResource curl, Callable callback, BinaryInput file, long length)
public java.lang.String getContentType()
getContentType
in class PostBody
public long getContentLength()
getContentLength
in class PostBody