\r\n

51Degrees Device Detection Java  4.4

Device detection services for 51Degrees Pipeline

fiftyone.devicedetection.examples.web.GettingStartedWebOnPrem Class Reference

Detailed Description

This is the getting started Web/On-Prem example showing use of the 51Degrees supplied filter which automatically creates and configures a device detection pipeline.

The configuration file for the pipeline is at src/main/webapp/WEB-INF/51Degrees-OnPrem.xml

Inheritance diagram for fiftyone.devicedetection.examples.web.GettingStartedWebOnPrem:

[legend]

Collaboration diagram for fiftyone.devicedetection.examples.web.GettingStartedWebOnPrem:

[legend]

Static Public Member Functions

static void  main (String[] args) throws Exception

Static Public Attributes

static String  resourceBase
static Logger  logger = LoggerFactory.getLogger(GettingStartedWebOnPrem.class)

Protected Member Functions

void  processRequest (HttpServletRequest request, HttpServletResponse response) throws Exception
void  doGet (HttpServletRequest request, HttpServletResponse response)
Handles the HTTP GET method. More...

Member Function Documentation

◆ doGet()

void fiftyone.devicedetection.examples.web.GettingStartedWebOnPrem.doGet ( HttpServletRequest   request,
HttpServletResponse   response  
)
protected

Handles the HTTP GET method.

Parameters
request - servlet request
response - servlet response
Examples
GettingStartedWebOnPrem.java.

◆ processRequest()

void fiftyone.devicedetection.examples.web.GettingStartedWebOnPrem.processRequest ( HttpServletRequest   request,
HttpServletResponse   response  
) throws Exception
protected
Parameters
request - servlet request
response - servlet response
Exceptions
Exception - when things go wrong
Examples
GettingStartedWebOnPrem.java.

Member Data Documentation

◆ resourceBase

String fiftyone.devicedetection.examples.web.GettingStartedWebOnPrem.resourceBase
static
Initial value:
= "device-detection.examples/web/getting-started" +
".onprem/src/main/webapp"