Package co.elastic.clients.transport
Interface WithUriParameter
public interface WithUriParameter
Base interface for request builders that can load properties found in URI paths segments and query parameters.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanwithUriParameter(String name, String value) Set a URI path segment or query parameter property on this object.
-
Method Details
-
withUriParameter
Set a URI path segment or query parameter property on this object.- Parameters:
name- the property namevalue- the property value- Returns:
trueif the property was found,falseif the property is unknown- Throws:
RuntimeException- if the value cannot be parsed to a valid property value
-