51Degrees Pipeline Java  4.1

51Degrees Pipeline for Java

fiftyone.pipeline.web.services.ClientsidePropertyServiceCore Interface Reference

Detailed Description

Class that provides functionality for the 'Client side overrides' feature.

Client side overrides allow JavaScript running on the client device to provide additional evidence in the form of cookies or query string parameters to the pipeline on subsequent requests. This enables more detailed information to be supplied to the application. (e.g. iPhone model for device detection).

Inheritance diagram for fiftyone.pipeline.web.services.ClientsidePropertyServiceCore:

[legend]

Classes

class  Default
Default implementation of the ClientsidePropertyServiceCore interface. More...

Public Member Functions

void  serveJavascript (HttpServletRequest request, HttpServletResponse response) throws IOException
Add the JavaScript from the FlowData object to the HttpServletResponse. More...
void  serveJson (HttpServletRequest request, HttpServletResponse response) throws IOException
Add the JSON from the FlowData object to the HttpServletResponse. More...

Member Function Documentation

◆ serveJavascript()

void fiftyone.pipeline.web.services.ClientsidePropertyServiceCore.serveJavascript ( HttpServletRequest   request,
HttpServletResponse   response  
) throws IOException

Add the JavaScript from the FlowData object to the HttpServletResponse.

Parameters
request - the HttpServletRequest containing the FlowData
response - the HttpServletResponse to add the JavaScript to
Exceptions
IOException -

Implemented in fiftyone.pipeline.web.services.ClientsidePropertyServiceCore.Default, and fiftyone.pipeline.web.mvc.services.ClientsidePropertyService.

◆ serveJson()

void fiftyone.pipeline.web.services.ClientsidePropertyServiceCore.serveJson ( HttpServletRequest   request,
HttpServletResponse   response  
) throws IOException

Add the JSON from the FlowData object to the HttpServletResponse.

Parameters
request - the HttpServletRequest containing the FlowData
response - the HttpServletResponse to add the JSON to
Exceptions
IOException -

Implemented in fiftyone.pipeline.web.services.ClientsidePropertyServiceCore.Default, and fiftyone.pipeline.web.mvc.services.ClientsidePropertyService.