public static class ToXContent.DelegatingMapParams extends ToXContent.MapParams
Constructor and Description |
---|
DelegatingMapParams(java.util.Map<java.lang.String,java.lang.String> params,
ToXContent.Params delegate) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
param(java.lang.String key) |
java.lang.String |
param(java.lang.String key,
java.lang.String defaultValue) |
boolean |
paramAsBoolean(java.lang.String key,
boolean defaultValue) |
java.lang.Boolean |
paramAsBoolean(java.lang.String key,
java.lang.Boolean defaultValue) |
public DelegatingMapParams(java.util.Map<java.lang.String,java.lang.String> params, ToXContent.Params delegate)
public java.lang.String param(java.lang.String key)
param
in interface ToXContent.Params
param
in class ToXContent.MapParams
public java.lang.String param(java.lang.String key, java.lang.String defaultValue)
param
in interface ToXContent.Params
param
in class ToXContent.MapParams
public boolean paramAsBoolean(java.lang.String key, boolean defaultValue)
paramAsBoolean
in interface ToXContent.Params
paramAsBoolean
in class ToXContent.MapParams
public java.lang.Boolean paramAsBoolean(java.lang.String key, java.lang.Boolean defaultValue)
paramAsBoolean
in interface ToXContent.Params
paramAsBoolean
in class ToXContent.MapParams