Package enterprises.iwakura.kirara.core
Class PathParameter
java.lang.Object
enterprises.iwakura.kirara.core.PathParameter
Represents a path parameter in a request.
This class is used to encapsulate a key-value pair that can be used in URL paths
for constructing dynamic URLs in HTTP requests.
-
Constructor Summary
ConstructorsConstructorDescriptionPathParameter(String key, String value) Constructor to create a PathParameter instance. -
Method Summary
-
Constructor Details
-
PathParameter
Constructor to create a PathParameter instance.- Parameters:
key- The path parameter key.value- The path parameter value.
-
-
Method Details
-
of
Creates a new PathParameter instance.- Parameters:
key- The header key.value- The header value.- Returns:
- Non-null
PathParameterinstance
-