code: @Override
      public final void filterWrite(NextFilter nextFilter, IoSession session,
              WriteRequest writeRequest) {
          if (eventTypes.contains(IoEventType.WRITE)) {
              IoFilterEvent event = new IoFilterEvent(nextFilter, IoEventType.WRITE, session,
                  writeRequest); 
              fireEvent(event);
          } else {
              nextFilter.filterWrite(session, writeRequest);
          }
      }
docs: {@inheritDoc}