code: public RouteMethod attributes(Map<String, Object> attributes) {
      if (attributes != null) {
        if (this.attributes == null) {
          this.attributes = new LinkedHashMap<>();
        }
        this.attributes.putAll(attributes);
      }
      return this;
    }
docs: Set route attributes.
  
  @param attributes Attributes.
  @return This method.