com.ning.http.client.providers.apache
public class ApacheAsyncHttpProvider.EntityWriterRequestEntity extends java.lang.Object implements org.apache.commons.httpclient.methods.RequestEntity
Constructor and Description |
---|
ApacheAsyncHttpProvider.EntityWriterRequestEntity(Request.EntityWriter entityWriter,
long contentLength) |
Modifier and Type | Method and Description |
---|---|
long |
getContentLength() |
java.lang.String |
getContentType() |
boolean |
isRepeatable() |
void |
writeRequest(java.io.OutputStream out) |
public ApacheAsyncHttpProvider.EntityWriterRequestEntity(Request.EntityWriter entityWriter, long contentLength)
public long getContentLength()
getContentLength
in interface org.apache.commons.httpclient.methods.RequestEntity
public java.lang.String getContentType()
getContentType
in interface org.apache.commons.httpclient.methods.RequestEntity
public boolean isRepeatable()
isRepeatable
in interface org.apache.commons.httpclient.methods.RequestEntity
public void writeRequest(java.io.OutputStream out) throws java.io.IOException
writeRequest
in interface org.apache.commons.httpclient.methods.RequestEntity
java.io.IOException
Copyright © 2014. All Rights Reserved.