public class HttpBodyContent extends Object
Constructor and Description |
---|
HttpBodyContent(HttpInputStreamWithRelease inputStream,
long contentLength)
build a body response
|
Modifier and Type | Method and Description |
---|---|
long |
getContentLength() |
HttpInputStreamWithRelease |
getInputStream() |
public HttpBodyContent(HttpInputStreamWithRelease inputStream, long contentLength)
inputStream
- input stream from the operatincontentLength
- length of content; may be -1 for "don't know"public long getContentLength()
public HttpInputStreamWithRelease getInputStream()
Copyright © 2015 Apache Software Foundation. All Rights Reserved.