Package org.elasticsearch.useragent.api
Interface UserAgentParserRegistry
public interface UserAgentParserRegistry
A registry of named
UserAgentParser instances.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final UserAgentParserRegistryNo-op registry that always returnsnull. -
Method Summary
Modifier and TypeMethodDescriptionReturns the parser registered under the given name, ornullif none.
-
Field Details
-
DEFAULT_PARSER_NAME
- See Also:
-
NOOP
No-op registry that always returnsnull. Used as a fallback when no plugin provides a registry. The processor factory handles null parsers with a clear configuration exception.
-
-
Method Details
-
getParser
Returns the parser registered under the given name, ornullif none.
-