| Constructor and Description |
|---|
NettyFileBody(java.io.File file,
AsyncHttpClientConfig config) |
NettyFileBody(java.io.File file,
long offset,
long length,
AsyncHttpClientConfig config) |
| Modifier and Type | Method and Description |
|---|---|
long |
getContentLength() |
java.io.File |
getFile() |
void |
write(io.netty.channel.Channel channel,
NettyResponseFuture<?> future) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetContentTypeOverridepublic NettyFileBody(java.io.File file,
AsyncHttpClientConfig config)
public NettyFileBody(java.io.File file,
long offset,
long length,
AsyncHttpClientConfig config)
public java.io.File getFile()
public long getContentLength()
getContentLength in interface NettyBodypublic void write(io.netty.channel.Channel channel,
NettyResponseFuture<?> future)
throws java.io.IOException
Copyright © 2018. All Rights Reserved.