Class WrapperSocketChannel

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable, java.nio.channels.Channel, BlockableChannel, SelectionChannel
    Direct Known Subclasses:
    ReadableSocketChannel, WritableSocketChannel

    @Deprecated
    public class WrapperSocketChannel
    extends WrapperChannel<java.nio.channels.SocketChannel>
    implements SelectionChannel
    Deprecated.
    Will be removed to favor lower-level network extensions allowing more control at the Restlet API level.
    Readable byte channel based on a source socket channel that must only be partially read.
    • Constructor Detail

      • WrapperSocketChannel

        public WrapperSocketChannel​(java.nio.channels.SocketChannel wrappedChannel,
                                    SelectionRegistration registration)
        Deprecated.
        Constructor.
        Parameters:
        wrappedChannel - The source channel.
        registration - The NIO registration.
    • Method Detail

      • isBlocking

        public boolean isBlocking()
        Deprecated.
        Indicates if the channel is blocking.
        Specified by:
        isBlocking in interface BlockableChannel
        Returns:
        True if the channel is blocking.