public static class ClientsidePropertyServiceCore.Default extends Object implements ClientsidePropertyServiceCore
ClientsidePropertyServiceCore
interface.ClientsidePropertyServiceCore.Default| Modifier and Type | Field and Description |
|---|---|
protected Pipeline |
pipeline
The Pipeline in the server instance.
|
protected static char |
PROFILE_OVERRIDES_SPLITTER
Character used by profile override logic to separate profile IDs.
|
| Constructor and Description |
|---|
Default(FlowDataProviderCore flowDataProviderCore,
Pipeline pipeline)
Create a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
init()
Initialise the service.
|
void |
serveContent(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
fiftyone.pipeline.web.services.ClientsidePropertyServiceCore.Default.ContentTypes contentType) |
void |
serveJavascript(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Add the JavaScript from the
FlowData object to the
HttpServletResponse |
void |
serveJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
Add the JSON from the
FlowData object to the
HttpServletResponse |
protected static final char PROFILE_OVERRIDES_SPLITTER
protected Pipeline pipeline
public Default(FlowDataProviderCore flowDataProviderCore, Pipeline pipeline)
flowDataProviderCore - the provider to the FlowData for
a request frompipeline - the Pipeline in the server instanceprotected void init()
public void serveJavascript(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
ClientsidePropertyServiceCoreFlowData object to the
HttpServletResponseserveJavascript in interface ClientsidePropertyServiceCorerequest - the HttpServletRequest containing the
FlowDataresponse - the HttpServletResponse to add the JavaScript toIOExceptionpublic void serveJson(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response)
throws IOException
ClientsidePropertyServiceCoreFlowData object to the
HttpServletResponseserveJson in interface ClientsidePropertyServiceCorerequest - the HttpServletRequest containing the
FlowDataresponse - the HttpServletResponse to add the JSON toIOExceptionpublic void serveContent(javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response,
fiftyone.pipeline.web.services.ClientsidePropertyServiceCore.Default.ContentTypes contentType)
throws IOException
IOExceptionCopyright © 2021 51Degrees. All rights reserved.