code: @Override
      protected InputStream getContentInputStream(OperationContext operationContext, ModelNode operation) throws IOException, OperationFailedException {
          // Get the attached stream
          final int streamIndex = operation.require(INPUT_STREAM_INDEX).asInt();
          final InputStream in = operationContext.getAttachmentStream(streamIndex);
          if (in == null) {
              throw ServerLogger.ROOT_LOGGER.nullStreamAttachment(streamIndex);
          }
          return in;
      }
docs: {@inheritDoc}