Uses of Interface
org.apache.mina.core.file.FileRegion
Packages that use FileRegion
Package
Description
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).
Stream based IoFilter implementation.
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 FileRegionModifier and TypeClassDescriptionclassManage a File to be sent to a remote host.classManage 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 FileRegionModifier and TypeMethodDescriptionprotected 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
Subclasses with type arguments of type FileRegion in org.apache.mina.filter.streamModifier and TypeClassDescriptionclassFilter implementation that converts aFileRegiontoIoBufferobjects and writes those buffers to the next filter.Methods in org.apache.mina.filter.stream that return types with arguments of type FileRegionModifier and TypeMethodDescriptionprotected Class<FileRegion> FileRegionWriteFilter.getMessageClass()Methods in org.apache.mina.filter.stream with parameters of type FileRegionModifier and TypeMethodDescriptionprotected IoBufferFileRegionWriteFilter.getNextBuffer(FileRegion fileRegion) -
Uses of FileRegion in org.apache.mina.transport.socket.apr
Methods in org.apache.mina.transport.socket.apr with parameters of type FileRegionModifier and TypeMethodDescriptionprotected intAprIoProcessor.transferFile(AprSession 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.transport.socket.nio
Methods in org.apache.mina.transport.socket.nio with parameters of type FileRegionModifier and TypeMethodDescriptionprotected intNioProcessor.transferFile(NioSession session, FileRegion region, int length)