public class LZ4EntityWrapper
extends org.apache.http.entity.AbstractHttpEntity
| Constructor and Description |
|---|
LZ4EntityWrapper(org.apache.http.entity.AbstractHttpEntity content,
int maxCompressBlockSize) |
LZ4EntityWrapper(org.apache.http.HttpEntity content,
int maxCompressBlockSize) |
| Modifier and Type | Method and Description |
|---|---|
InputStream |
getContent() |
long |
getContentLength() |
boolean |
isRepeatable() |
boolean |
isStreaming() |
void |
writeTo(OutputStream outputStream) |
public LZ4EntityWrapper(org.apache.http.entity.AbstractHttpEntity content,
int maxCompressBlockSize)
public LZ4EntityWrapper(org.apache.http.HttpEntity content,
int maxCompressBlockSize)
public boolean isRepeatable()
public long getContentLength()
public InputStream getContent() throws IOException, IllegalStateException
IOExceptionIllegalStateExceptionpublic void writeTo(OutputStream outputStream) throws IOException
IOExceptionpublic boolean isStreaming()
Copyright © 2020. All rights reserved.