Uses of Interface
org.apache.mina.core.file.FileRegion
-
Packages that use FileRegion Package Description org.apache.mina.core.file org.apache.mina.core.polling Base class for implementing transport based on active polling strategies like NIO select call, or any API based on I/O polling system calls (epoll, poll, select, kqueue, etc).org.apache.mina.filter.stream Stream based IoFilter implementation.org.apache.mina.transport.socket.nio Socket (TCP/IP) and Datagram (UDP/IP) support based on Java NIO (New I/O) API. -
-
Uses of FileRegion in org.apache.mina.core.file
Classes in org.apache.mina.core.file that implement FileRegion Modifier and Type Class Description classDefaultFileRegionManage a File to be sent to a remote host.classFilenameFileRegionManage a File to be sent to a remote host. -
Uses of FileRegion in org.apache.mina.core.polling
Methods in org.apache.mina.core.polling with parameters of type FileRegion Modifier and Type Method Description protected abstract intAbstractPollingIoProcessor. transferFile(S session, FileRegion region, int length)Write a part of a file to aIoSession, if the underlying API isn't supporting system calls like sendfile(), you can throw aUnsupportedOperationExceptionso the file will be send using usualAbstractPollingIoProcessor.write(AbstractIoSession, IoBuffer, int)call. -
Uses of FileRegion in org.apache.mina.filter.stream
Methods in org.apache.mina.filter.stream that return types with arguments of type FileRegion Modifier and Type Method Description protected Class<FileRegion>FileRegionWriteFilter. getMessageClass()Methods in org.apache.mina.filter.stream with parameters of type FileRegion Modifier and Type Method Description protected IoBufferFileRegionWriteFilter. getNextBuffer(FileRegion fileRegion) -
Uses of FileRegion in org.apache.mina.transport.socket.nio
Methods in org.apache.mina.transport.socket.nio with parameters of type FileRegion Modifier and Type Method Description protected intNioProcessor. transferFile(NioSession session, FileRegion region, int length)
-