public abstract static class HTTPJSONPathDataAdapter.Config extends Object implements LookupDataAdapterConfiguration
| Modifier and Type | Class and Description |
|---|---|
static class |
HTTPJSONPathDataAdapter.Config.Builder |
TYPE_FIELD| Constructor and Description |
|---|
Config() |
| Modifier and Type | Method and Description |
|---|---|
static HTTPJSONPathDataAdapter.Config.Builder |
builder() |
abstract Map<String,String> |
headers() |
abstract Optional<String> |
multiValueJSONPath() |
abstract @NotEmpty String |
singleValueJSONPath() |
abstract String |
type() |
abstract @NotEmpty String |
url() |
abstract @NotEmpty String |
userAgent() |
Optional<com.google.common.collect.Multimap<String,String>> |
validate(LookupDataAdapterValidationContext validationContext)
Same as
LookupDataAdapterConfiguration.validate() but providing access to additional services via the given context object. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitvalidatepublic abstract String type()
type in interface LookupDataAdapterConfiguration@NotEmpty public abstract @NotEmpty String url()
@NotEmpty public abstract @NotEmpty String singleValueJSONPath()
@NotEmpty public abstract @NotEmpty String userAgent()
public static HTTPJSONPathDataAdapter.Config.Builder builder()
public Optional<com.google.common.collect.Multimap<String,String>> validate(LookupDataAdapterValidationContext validationContext)
LookupDataAdapterConfigurationLookupDataAdapterConfiguration.validate() but providing access to additional services via the given context object.
If you override this message, don't also override LookupDataAdapterConfiguration.validate() as the calling code is not expected
to call both methods.
validate in interface LookupDataAdapterConfigurationCopyright © 2012–2021 Graylog, Inc.. All rights reserved.