Package org.graylog2.lookup.adapters
Class HTTPJSONPathDataAdapter.Config
java.lang.Object
org.graylog2.lookup.adapters.HTTPJSONPathDataAdapter.Config
- All Implemented Interfaces:
LookupDataAdapterConfiguration
- Enclosing class:
- HTTPJSONPathDataAdapter
public abstract static class HTTPJSONPathDataAdapter.Config
extends Object
implements LookupDataAdapterConfiguration
-
Nested Class Summary
-
Field Summary
Fields inherited from interface org.graylog2.plugin.lookup.LookupDataAdapterConfiguration
TYPE_FIELD
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuilder()
headers()
abstract @NotEmpty String
abstract String
type()
abstract @NotEmpty String
url()
abstract @NotEmpty String
validate
(LookupDataAdapterValidationContext validationContext) Same asLookupDataAdapterConfiguration.validate()
but providing access to additional services via the given context object.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.graylog2.plugin.lookup.LookupDataAdapterConfiguration
validate
-
Constructor Details
-
Config
public Config()
-
-
Method Details
-
type
- Specified by:
type
in interfaceLookupDataAdapterConfiguration
-
url
-
singleValueJSONPath
-
multiValueJSONPath
-
userAgent
-
headers
-
builder
-
validate
public Optional<com.google.common.collect.Multimap<String,String>> validate(LookupDataAdapterValidationContext validationContext) Description copied from interface:LookupDataAdapterConfiguration
Same asLookupDataAdapterConfiguration.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.- Specified by:
validate
in interfaceLookupDataAdapterConfiguration
-