public RouteMethod attribute(String name, Object value) {
    if (this.attributes == null) {
      this.attributes = new LinkedHashMap<>();
    }
    this.attributes.put(name, value);
    return this;
  }
public RouteMethod attribute(String name, Object value) {
    if (this.attributes == null) {
      this.attributes = new LinkedHashMap<>();
    }
    this.attributes.put(name, value);
    return this;
  }
public RouteMethod attribute ( String name , Object value ) { if ( this . attributes == null ) { this . attributes = new LinkedHashMap <> ( ) ; } this . attributes . put ( name , value ) ; return this ; }
Set route attribute.

@param name Attribute name.
@param value Attribute value.
@return This method.
Set route attribute .