public interface FiftyOneJSServiceCore
| Modifier and Type | Interface and Description |
|---|---|
static class |
FiftyOneJSServiceCore.Default
Default implementation of the
FiftyOneJSServiceCore service. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
serveJS(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Check if the 51Degrees JavaScript is being requested and write it to the
response if it is.
|
boolean |
serveJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Check if the 51Degrees JSON is being requested and
write it to the response if it is
|
boolean serveJS(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
request - the HttpServletRequest to get the FlowData
fromresponse - the HttpServletResponse to write the JavaScript
toIOExceptionboolean serveJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
request - the HttpServletRequest to get the FlowData
fromresponse - the HttpServletResponse to write the JSON
toIOExceptionCopyright © 2021 51Degrees. All rights reserved.