@Override protected final void doSetAll(IoSessionConfigEx config) { super.doSetAll(config); if (config instanceof NioSocketChannelIoSessionConfig) { channelConfig.setReceiveBufferSizePredictorFactory( ((NioSocketChannelIoSessionConfig) config).channelConfig.getReceiveBufferSizePredictorFactory()); } } }