\r\n

51Degrees Pipeline Java  4.4

51Degrees Pipeline for Java

fiftyone.pipeline.web.services.FiftyOneJSServiceCore Interface Reference

Detailed Description

Service that provides the 51Degrees javascript when requested.

See also
Specification

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

[legend]

Classes

class  Default
Default implementation of the FiftyOneJSServiceCore service. More...

Public Member Functions

boolean  serveJS (HttpServletRequest request, HttpServletResponse response) throws IOException
Check if the 51Degrees JavaScript is being requested and write it to the response if it is. More...
boolean  serveJson (HttpServletRequest request, HttpServletResponse response) throws IOException
Check if the 51Degrees JSON is being requested and write it to the response if it is. More...

Member Function Documentation

◆ serveJS()

boolean fiftyone.pipeline.web.services.FiftyOneJSServiceCore.serveJS ( HttpServletRequest   request,
HttpServletResponse   response  
) throws IOException

Check if the 51Degrees JavaScript is being requested and write it to the response if it is.

Parameters
request - the HttpServletRequest to get the FlowData from
response - the HttpServletResponse to write the JavaScript to
Returns
true if JavaScript was written to the response, false otherwise
Exceptions
IOException - if there was a failure reading or writing to the request or response

Implemented in fiftyone.pipeline.web.services.FiftyOneJSServiceCore.Default.

◆ serveJson()

boolean fiftyone.pipeline.web.services.FiftyOneJSServiceCore.serveJson ( HttpServletRequest   request,
HttpServletResponse   response  
) throws IOException

Check if the 51Degrees JSON is being requested and write it to the response if it is.

Parameters
request - the HttpServletRequest to get the FlowData from
response - the HttpServletResponse to write the JSON to
Returns
true if JSON was written to the response, false otherwise
Exceptions
IOException - if there was a failure reading or writing to the request or response

Implemented in fiftyone.pipeline.web.services.FiftyOneJSServiceCore.Default.