Package com.botbye.model
Class BotbyeValidationEvent
- java.lang.Object
-
- com.botbye.model.BotbyeValidationEvent
-
- All Implemented Interfaces:
BotbyeEvent,java.io.Serializable
public final class BotbyeValidationEvent extends java.lang.Object implements BotbyeEvent, java.io.Serializable
Level 1: Bot validation (proxy, pre-authentication). Validates device token and returns bot score. No user context — only bot detection.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BotbyeValidationEvent(BotbyeRequestInfo request, java.util.Map<java.lang.String,java.lang.String> customFields)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.lang.String>getCustomFields()BotbyeIntegrationInfogetIntegration()BotbyeRequestInfogetRequest()java.lang.StringgetUrlToken()static BotbyeValidationEventof(java.lang.String ip, java.lang.String token, java.util.Map<java.lang.String,java.lang.String> headers, java.lang.String requestMethod, java.lang.String requestUri, java.util.Map<java.lang.String,java.lang.String> customFields)
-
-
-
Constructor Detail
-
BotbyeValidationEvent
public BotbyeValidationEvent(BotbyeRequestInfo request, java.util.Map<java.lang.String,java.lang.String> customFields)
-
-
Method Detail
-
of
public static BotbyeValidationEvent of(java.lang.String ip, java.lang.String token, java.util.Map<java.lang.String,java.lang.String> headers, java.lang.String requestMethod, java.lang.String requestUri, java.util.Map<java.lang.String,java.lang.String> customFields)
-
getUrlToken
public java.lang.String getUrlToken()
- Specified by:
getUrlTokenin interfaceBotbyeEvent
-
getIntegration
public BotbyeIntegrationInfo getIntegration()
-
getRequest
public BotbyeRequestInfo getRequest()
-
getCustomFields
public java.util.Map<java.lang.String,java.lang.String> getCustomFields()
-
-