Module jls.net.http.Attributes

A class that holds attributes as key-value pairs.

The attributes are stored in the table field "attributes".

Class Attributes

Attributes:new () Creates a new Attributes.
attributes:setAttribute (name, value) Sets the specified value for the specified name.
attributes:getAttribute (name) Returns the value for the specified name.
attributes:removeAttribute (name) Removes the value for the specified name.


Class Attributes

A class that holds attributes.
Attributes:new ()
Creates a new Attributes.
attributes:setAttribute (name, value)
Sets the specified value for the specified name.

Parameters:

  • name string the attribute name
  • value the attribute value
attributes:getAttribute (name)
Returns the value for the specified name.

Parameters:

  • name string the attribute name

Returns:

    the attribute value
attributes:removeAttribute (name)
Removes the value for the specified name.

Parameters:

  • name string the attribute name

Returns:

    the attribute value
generated by LDoc 1.4.6