public static class ApacheHttpBuilder.ApacheToServer
extends java.lang.Object
implements groovyx.net.http.ToServer, org.apache.http.HttpEntity
| Constructor and Description |
|---|
ApacheToServer(groovyx.net.http.ChainedHttpConfig config) |
| Modifier and Type | Method and Description |
|---|---|
void |
consumeContent() |
java.io.InputStream |
getContent() |
org.apache.http.Header |
getContentEncoding() |
long |
getContentLength() |
org.apache.http.Header |
getContentType() |
boolean |
isChunked() |
boolean |
isRepeatable() |
boolean |
isStreaming() |
void |
toServer(java.io.InputStream inputStream) |
void |
writeTo(java.io.OutputStream outputStream) |
public void toServer(java.io.InputStream inputStream)
toServer in interface groovyx.net.http.ToServerpublic boolean isRepeatable()
isRepeatable in interface org.apache.http.HttpEntitypublic boolean isChunked()
isChunked in interface org.apache.http.HttpEntitypublic long getContentLength()
getContentLength in interface org.apache.http.HttpEntitypublic org.apache.http.Header getContentType()
getContentType in interface org.apache.http.HttpEntitypublic org.apache.http.Header getContentEncoding()
getContentEncoding in interface org.apache.http.HttpEntitypublic java.io.InputStream getContent()
getContent in interface org.apache.http.HttpEntitypublic void writeTo(java.io.OutputStream outputStream)
writeTo in interface org.apache.http.HttpEntitypublic boolean isStreaming()
isStreaming in interface org.apache.http.HttpEntitypublic void consumeContent()
throws java.io.IOException
consumeContent in interface org.apache.http.HttpEntityjava.io.IOException