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
Nested Classes -
Field Summary
Fields inherited from interface org.graylog2.plugin.lookup.LookupDataAdapterConfiguration
TYPE_FIELD -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()headers()abstract @NotEmpty Stringabstract Stringtype()abstract @NotEmpty Stringurl()abstract @NotEmpty Stringvalidate(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, waitMethods inherited from interface org.graylog2.plugin.lookup.LookupDataAdapterConfiguration
isCloudCompatible, validate
-
Constructor Details
-
Config
public Config()
-
-
Method Details
-
type
- Specified by:
typein interfaceLookupDataAdapterConfiguration
-
url
-
singleValueJSONPath
-
multiValueJSONPath
-
userAgent
-
headers
-
builder
-
validate
public Optional<com.google.common.collect.Multimap<String,String>> validate(LookupDataAdapterValidationContext validationContext) Description copied from interface:LookupDataAdapterConfigurationSame 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:
validatein interfaceLookupDataAdapterConfiguration
-