private abstract class IntegralServiceSpec_checkUrl.TestHttpEntity extends Object implements org.apache.http.HttpEntity
Modifier | Constructor and Description |
---|---|
private |
TestHttpEntity() |
Modifier and Type | Method and Description |
---|---|
void |
consumeContent() |
abstract InputStream |
getContent() |
org.apache.http.Header |
getContentEncoding() |
long |
getContentLength() |
org.apache.http.Header |
getContentType() |
boolean |
isChunked() |
boolean |
isRepeatable() |
boolean |
isStreaming() |
void |
writeTo(OutputStream arg0) |
public void writeTo(OutputStream arg0) throws IOException
writeTo
in interface org.apache.http.HttpEntity
IOException
public boolean isStreaming()
isStreaming
in interface org.apache.http.HttpEntity
public boolean isRepeatable()
isRepeatable
in interface org.apache.http.HttpEntity
public boolean isChunked()
isChunked
in interface org.apache.http.HttpEntity
public org.apache.http.Header getContentType()
getContentType
in interface org.apache.http.HttpEntity
public long getContentLength()
getContentLength
in interface org.apache.http.HttpEntity
public org.apache.http.Header getContentEncoding()
getContentEncoding
in interface org.apache.http.HttpEntity
public abstract InputStream getContent() throws IOException, IllegalStateException
getContent
in interface org.apache.http.HttpEntity
IOException
IllegalStateException
public void consumeContent() throws IOException
consumeContent
in interface org.apache.http.HttpEntity
IOException