Package org.jdrupes.httpcodec.types
Class Directive
java.lang.Object
org.jdrupes.httpcodec.types.Directive
Represents a directive.
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Directive
Creates a new directive.- Parameters:
name
- the namevalue
- the value
-
Directive
Convenience constructor for a directive that has a number as value.The given value is converted to a string.
- Parameters:
name
- the namevalue
- the value
-
Directive
Creates a new directive.- Parameters:
name
- the name
-
-
Method Details
-
name
- Returns:
- the name
-
value
- Returns:
- the value
-