A
B
C
D
E
F
G
H
I
L
M
O
P
R
S
T
U
W
G
- getApiKey() - function in com.posthog.server.PostHogConfig
- The PostHog API Key
- getAppendFeatureFlags() - function in com.posthog.server.PostHogCaptureOptions
- getAppendFeatureFlags() - function in com.posthog.server.PostHogCaptureOptions.Builder
- getDebug() - function in com.posthog.server.PostHogConfig
- Logs the debug logs to the logger if enabled Defaults to false
- getDefaultValue() - function in com.posthog.server.PostHogFeatureFlagOptions
- getDefaultValue() - function in com.posthog.server.PostHogFeatureFlagOptions.Builder
- getEncryption() - function in com.posthog.server.PostHogConfig
- Hook for encrypt and decrypt events Devices are sandbox so likely not needed Defaults to no encryption
- getEvaluationContexts() - function in com.posthog.server.PostHogConfig
- Evaluation contexts for feature flags List of contexts (e.g., "web", "mobile", "checkout") used to filter feature flag evaluations on the server side.
- getFeatureFlag(java.lang.String,java.lang.String,java.lang.Object,java.util.Map,java.util.Map,java.util.Map) - function in com.posthog.server.PostHog
- Returns the feature flags variant if multi-variant, otherwise whether it is enabled or not Docs https://posthog.com/docs/feature-flags and https://posthog.
- getFeatureFlag(java.lang.String,java.lang.String) - function in com.posthog.server.PostHogInterface
- Returns the feature flags variant if multi-variant, otherwise whether it is enabled or not Docs https://posthog.com/docs/feature-flags and https://posthog.
- getFeatureFlag(java.lang.String,java.lang.String) - function in com.posthog.server.PostHogInterface
- Returns the feature flags variant if multi-variant, otherwise whether it is enabled or not Docs https://posthog.com/docs/feature-flags and https://posthog.
- getFeatureFlag(java.lang.String,java.lang.String,com.posthog.server.PostHogFeatureFlagOptions) - function in com.posthog.server.PostHogInterface
- Returns the feature flags variant if multi-variant, otherwise whether it is enabled or not Docs https://posthog.com/docs/feature-flags and https://posthog.
- getFeatureFlag(java.lang.String,java.lang.String,com.posthog.server.PostHogFeatureFlagOptions) - function in com.posthog.server.PostHogInterface
- Returns the feature flags variant if multi-variant, otherwise whether it is enabled or not Docs https://posthog.com/docs/feature-flags and https://posthog.
- getFeatureFlag(java.lang.String,java.lang.String,java.lang.Object) - function in com.posthog.server.PostHogInterface
- Returns if a feature flag is enabled, the feature flag must be a Boolean Docs https://posthog.com/docs/feature-flags and https://posthog.
- getFeatureFlag(java.lang.String,java.lang.String,java.lang.Object) - function in com.posthog.server.PostHogInterface
- Returns if a feature flag is enabled, the feature flag must be a Boolean Docs https://posthog.com/docs/feature-flags and https://posthog.
- getFeatureFlag(java.lang.String,java.lang.String,java.lang.Object,java.util.Map,java.util.Map,java.util.Map) - function in com.posthog.server.PostHogInterface
- Returns the feature flags variant if multi-variant, otherwise whether it is enabled or not Docs https://posthog.com/docs/feature-flags and https://posthog.
- getFeatureFlagCacheMaxAgeMs() - function in com.posthog.server.PostHogConfig
- The maximum age of a feature flag cache record in memory in milliseconds Defaults to 5 minutes
- getFeatureFlagCacheSize() - function in com.posthog.server.PostHogConfig
- The maximum size of the feature flag cache in memory Defaults to 1000
- getFeatureFlagCalledCacheSize() - function in com.posthog.server.PostHogConfig
- The maximum size of the feature flag called cache in memory.
- getFeatureFlagPayload(java.lang.String,java.lang.String,java.lang.Object,java.util.Map,java.util.Map,java.util.Map) - function in com.posthog.server.PostHog
- Returns the feature flag payload Docs https://posthog.com/docs/feature-flags and https://posthog.
- getFeatureFlagPayload(java.lang.String,java.lang.String) - function in com.posthog.server.PostHogInterface
- Returns the feature flag payload Docs https://posthog.com/docs/feature-flags and https://posthog.
- getFeatureFlagPayload(java.lang.String,java.lang.String) - function in com.posthog.server.PostHogInterface
- Returns the feature flag payload Docs https://posthog.com/docs/feature-flags and https://posthog.
- getFeatureFlagPayload(java.lang.String,java.lang.String,com.posthog.server.PostHogFeatureFlagOptions) - function in com.posthog.server.PostHogInterface
- Returns the feature flag payload Docs https://posthog.com/docs/feature-flags and https://posthog.
- getFeatureFlagPayload(java.lang.String,java.lang.String,com.posthog.server.PostHogFeatureFlagOptions) - function in com.posthog.server.PostHogInterface
- Returns the feature flag payload Docs https://posthog.com/docs/feature-flags and https://posthog.
- getFeatureFlagPayload(java.lang.String,java.lang.String,java.lang.Object) - function in com.posthog.server.PostHogInterface
- Returns the feature flag payload Docs https://posthog.com/docs/feature-flags and https://posthog.
- getFeatureFlagPayload(java.lang.String,java.lang.String,java.lang.Object) - function in com.posthog.server.PostHogInterface
- Returns the feature flag payload Docs https://posthog.com/docs/feature-flags and https://posthog.
- getFeatureFlagPayload(java.lang.String,java.lang.String,java.lang.Object,java.util.Map,java.util.Map,java.util.Map) - function in com.posthog.server.PostHogInterface
- Returns the feature flag payload Docs https://posthog.com/docs/feature-flags and https://posthog.
- getFeatureFlagPayloadStateless(java.lang.String,java.lang.String,java.lang.Object,java.util.Map,java.util.Map,java.util.Map) - function in com.posthog.PostHogStateless
- getFeatureFlagResult(java.lang.String,java.lang.String,java.util.Map,java.util.Map,java.util.Map,java.lang.Boolean) - function in com.posthog.server.PostHog
- Returns the feature flag result containing both value and payload.
- getFeatureFlagResult(java.lang.String,java.lang.String) - function in com.posthog.server.PostHogInterface
- Returns the feature flag result containing both value and payload.
- getFeatureFlagResult(java.lang.String,java.lang.String) - function in com.posthog.server.PostHogInterface
- Returns the feature flag result containing both value and payload.
- getFeatureFlagResult(java.lang.String,java.lang.String,com.posthog.server.PostHogFeatureFlagResultOptions) - function in com.posthog.server.PostHogInterface
- Returns the feature flag result containing both value and payload.
- getFeatureFlagResult(java.lang.String,java.lang.String,com.posthog.server.PostHogFeatureFlagResultOptions) - function in com.posthog.server.PostHogInterface
- Returns the feature flag result containing both value and payload.
- getFeatureFlagResult(java.lang.String,java.lang.String,java.util.Map,java.util.Map,java.util.Map,java.lang.Boolean) - function in com.posthog.server.PostHogInterface
- Returns the feature flag result containing both value and payload.
- getFeatureFlagResultStateless(java.lang.String,java.lang.String,java.util.Map,java.util.Map,java.util.Map,java.lang.Boolean) - function in com.posthog.PostHogStateless
- getFeatureFlagStateless(java.lang.String,java.lang.String,java.lang.Object,java.util.Map,java.util.Map,java.util.Map) - function in com.posthog.PostHogStateless
- getFlushAt() - function in com.posthog.server.PostHogConfig
- Number of minimum events before they are sent over the wire Defaults to 20
- getFlushIntervalSeconds() - function in com.posthog.server.PostHogConfig
- Interval in seconds for sending events over the wire The lower the number, most likely more battery is used Defaults to 30s
- getGroupProperties() - function in com.posthog.server.PostHogFeatureFlagOptions
- getGroupProperties() - function in com.posthog.server.PostHogFeatureFlagOptions.Builder
- getGroupProperties() - function in com.posthog.server.PostHogFeatureFlagResultOptions
- getGroupProperties() - function in com.posthog.server.PostHogFeatureFlagResultOptions.Builder
- getGroups() - function in com.posthog.server.PostHogCaptureOptions
- getGroups() - function in com.posthog.server.PostHogCaptureOptions.Builder
- getGroups() - function in com.posthog.server.PostHogFeatureFlagOptions
- getGroups() - function in com.posthog.server.PostHogFeatureFlagOptions.Builder
- getGroups() - function in com.posthog.server.PostHogFeatureFlagResultOptions
- getGroups() - function in com.posthog.server.PostHogFeatureFlagResultOptions.Builder
- getHost() - function in com.posthog.server.PostHogConfig
- The PostHog Host Defaults to https://us.i.posthog.com EU Host: https://eu.i.posthog.
- getLocalEvaluation() - function in com.posthog.server.PostHogConfig
- Enable local evaluation of feature flags When enabled, the SDK periodically fetches flag definitions and evaluates flags locally without making API calls for each flag check.
- getMaxBatchSize() - function in com.posthog.server.PostHogConfig
- Number of maximum events in a batch call Defaults to 50
- getMaxQueueSize() - function in com.posthog.server.PostHogConfig
- Number of maximum events in memory and disk, when the maximum is exceed, the oldest event is deleted and the new one takes place Defaults to 1000
- getOnFeatureFlags() - function in com.posthog.server.PostHogConfig
- Hook that is called when feature flag definitions are loaded.
- getPersonalApiKey() - function in com.posthog.server.PostHogConfig
- Personal API key for local evaluation Required when localEvaluation is true.
- getPersonProperties() - function in com.posthog.server.PostHogFeatureFlagOptions
- getPersonProperties() - function in com.posthog.server.PostHogFeatureFlagOptions.Builder
- getPersonProperties() - function in com.posthog.server.PostHogFeatureFlagResultOptions
- getPersonProperties() - function in com.posthog.server.PostHogFeatureFlagResultOptions.Builder
- getPollIntervalSeconds() - function in com.posthog.server.PostHogConfig
- Interval in seconds for polling feature flag definitions for local evaluation Defaults to 30 seconds
- getPreloadFeatureFlags() - function in com.posthog.server.PostHogConfig
- Preload feature flags automatically Docs https://posthog.com/docs/feature-flags and https://posthog.
- getProperties() - function in com.posthog.server.PostHogCaptureOptions
- getProperties() - function in com.posthog.server.PostHogCaptureOptions.Builder
- getProxy() - function in com.posthog.server.PostHogConfig
- Hook that allows to sanitize the event properties The hook is called before the event is cached or sent over the wire
- getRemoteConfig() - function in com.posthog.server.PostHogConfig
- Preload PostHog remote config automatically Defaults to true
- getSendFeatureFlagEvent() - function in com.posthog.server.PostHogConfig
- Send a $feature_flag_called event when a feature flag is used automatically Used by experimentsDefaults to true
- getSendFeatureFlagEvent() - function in com.posthog.server.PostHogFeatureFlagResultOptions
- getSendFeatureFlagEvent() - function in com.posthog.server.PostHogFeatureFlagResultOptions.Builder
- getTimestamp() - function in com.posthog.server.PostHogCaptureOptions
- getTimestamp() - function in com.posthog.server.PostHogCaptureOptions.Builder
- getUserProperties() - function in com.posthog.server.PostHogCaptureOptions
- getUserProperties() - function in com.posthog.server.PostHogCaptureOptions.Builder
- getUserPropertiesSetOnce() - function in com.posthog.server.PostHogCaptureOptions
- getUserPropertiesSetOnce() - function in com.posthog.server.PostHogCaptureOptions.Builder
- group(java.lang.String,java.lang.String,java.lang.String,java.util.Map) - function in com.posthog.server.PostHog
- Creates a group Docs https://posthog.
- group(java.lang.String,java.lang.String) - function in com.posthog.server.PostHogCaptureOptions.Builder
- Adds a single group to the capture options.
- group(java.lang.String,java.lang.String) - function in com.posthog.server.PostHogFeatureFlagOptions.Builder
- Add a single custom property to the capture options
- group(java.lang.String,java.lang.String) - function in com.posthog.server.PostHogFeatureFlagResultOptions.Builder
- Add a single custom property to the capture options
- group(java.lang.String,java.lang.String,java.lang.String) - function in com.posthog.server.PostHogInterface
- Creates a group Docs https://posthog.
- group(java.lang.String,java.lang.String,java.lang.String) - function in com.posthog.server.PostHogInterface
- Creates a group Docs https://posthog.
- group(java.lang.String,java.lang.String,java.lang.String,java.util.Map) - function in com.posthog.server.PostHogInterface
- Creates a group Docs https://posthog.
- groupProperties(java.util.Map) - function in com.posthog.server.PostHogFeatureFlagOptions.Builder
- Appends multiple user properties (set once) to the capture options.
- groupProperties(java.util.Map) - function in com.posthog.server.PostHogFeatureFlagResultOptions.Builder
- Appends multiple user properties (set once) to the capture options.
- groupProperty(java.lang.String,java.lang.String,java.lang.Object) - function in com.posthog.server.PostHogFeatureFlagOptions.Builder
- Adds a single user property (set once) to the capture options.
- groupProperty(java.lang.String,java.lang.String,java.lang.Object) - function in com.posthog.server.PostHogFeatureFlagResultOptions.Builder
- Adds a single user property (set once) to the capture options.
- groups(java.util.Map) - function in com.posthog.server.PostHogCaptureOptions.Builder
- Appends multiple groups to the capture options.
- groups(java.util.Map) - function in com.posthog.server.PostHogFeatureFlagOptions.Builder
- Appends multiple groups to the feature flag options
- groups(java.util.Map) - function in com.posthog.server.PostHogFeatureFlagResultOptions.Builder
- Appends multiple groups to the feature flag options
- groupStateless(java.lang.String,java.lang.String,java.lang.String,java.util.Map) - function in com.posthog.PostHogStateless