This handler sends file:
1. If the file is big: use zero-copy for HTTP or chunking for HTTPS
2. If the file is small: cache in memory and use normal response
Annotations
@Sharable()
Linear Supertypes
ChannelOutboundHandlerAdapter, ChannelOutboundHandler, ChannelHandlerAdapter, ChannelHandler, AnyRef, Any
Type Hierarchy
Ordering
Alphabetic
By Inheritance
Inherited
XSendFile
ChannelOutboundHandlerAdapter
ChannelOutboundHandler
ChannelHandlerAdapter
ChannelHandler
AnyRef
Any
Hide All
Show All
Visibility
Public
All
Instance Constructors
newXSendFile()
Value Members
final def!=(arg0: Any): Boolean
Definition Classes
AnyRef → Any
final def##(): Int
Definition Classes
AnyRef → Any
final def==(arg0: Any): Boolean
Definition Classes
AnyRef → Any
final defasInstanceOf[T0]: T0
Definition Classes
Any
defbind(arg0: ChannelHandlerContext, arg1: SocketAddress, arg2: ChannelPromise): Unit
This handler sends file: 1. If the file is big: use zero-copy for HTTP or chunking for HTTPS 2. If the file is small: cache in memory and use normal response