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 TypeMethodDescriptionboolean
withUriParameter
(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:
true
if the property was found,false
if the property is unknown- Throws:
RuntimeException
- if the value cannot be parsed to a valid property value
-