\r\n

51Degrees Device Detection Java  4.4

Device detection services for 51Degrees Pipeline

fiftyone.devicedetection.examples.console.GettingStartedOnPrem Class Reference

Detailed Description

Provides an illustration of the fundamental elements of carrying out device detection using "on premise" (aka Hash) detection - meaning the device detection data is stored on your server and the detection software executes exclusively on your server.

This example shows how to use pipeline configuration file, as opposed to the fluent builder illustrated in GettingStartedCloud. The configuration file is src/main/resources/gettingStartedOnPrem.xml.

The concepts of "pipeline", "flow data", "evidence" and "results" are illustrated.

Static Public Member Functions

static void  main (String[] args) throws Exception
static void  run (String dataFile, List< Map< String, String >> evidenceList, OutputStream outputStream) throws Exception
Run the example. More...

Static Public Attributes

static String  LITE_V_4_1_HASH = "51Degrees-LiteV4.1.hash"

Member Function Documentation

◆ run()

static void fiftyone.devicedetection.examples.console.GettingStartedOnPrem.run ( String   dataFile,
List< Map< String, String >>   evidenceList,
OutputStream   outputStream  
) throws Exception
static

Run the example.

Parameters
dataFile - a device detection data file
evidenceList - a List<Map<String, String>> representing evidence
outputStream - somewhere for the results
Examples
console/GettingStartedOnPrem.java.