Package fiftyone.pipeline.web.services
Class ClientsidePropertyServiceCore.Default
- java.lang.Object
-
- fiftyone.pipeline.web.services.ClientsidePropertyServiceCore.Default
-
- All Implemented Interfaces:
ClientsidePropertyServiceCore
- Enclosing interface:
- ClientsidePropertyServiceCore
public static class ClientsidePropertyServiceCore.Default extends Object implements ClientsidePropertyServiceCore
Default implementation of theClientsidePropertyServiceCoreinterface.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface fiftyone.pipeline.web.services.ClientsidePropertyServiceCore
ClientsidePropertyServiceCore.Default
-
-
Field Summary
Fields Modifier and Type Field Description protected fiftyone.pipeline.core.flowelements.PipelinepipelineThe Pipeline in the server instance.protected static charPROFILE_OVERRIDES_SPLITTERCharacter used by profile override logic to separate profile IDs.
-
Constructor Summary
Constructors Constructor Description Default(FlowDataProviderCore flowDataProviderCore, fiftyone.pipeline.core.flowelements.Pipeline pipeline)Create a new instance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidinit()Initialise the service.voidserveContent(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, fiftyone.pipeline.web.services.ClientsidePropertyServiceCore.Default.ContentTypes contentType)voidserveJavascript(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)Add the JavaScript from theFlowDataobject to theHttpServletResponsevoidserveJson(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)Add the JSON from theFlowDataobject to theHttpServletResponse
-
-
-
Field Detail
-
PROFILE_OVERRIDES_SPLITTER
protected static final char PROFILE_OVERRIDES_SPLITTER
Character used by profile override logic to separate profile IDs.- See Also:
- Constant Field Values
-
pipeline
protected fiftyone.pipeline.core.flowelements.Pipeline pipeline
The Pipeline in the server instance.
-
-
Constructor Detail
-
Default
public Default(FlowDataProviderCore flowDataProviderCore, fiftyone.pipeline.core.flowelements.Pipeline pipeline)
Create a new instance.- Parameters:
flowDataProviderCore- the provider to theFlowDatafor a request frompipeline- the Pipeline in the server instance
-
-
Method Detail
-
init
protected void init()
Initialise the service.
-
serveJavascript
public void serveJavascript(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOExceptionDescription copied from interface:ClientsidePropertyServiceCoreAdd the JavaScript from theFlowDataobject to theHttpServletResponse- Specified by:
serveJavascriptin interfaceClientsidePropertyServiceCore- Parameters:
request- theHttpServletRequestcontaining theFlowDataresponse- theHttpServletResponseto add the JavaScript to- Throws:
IOException- if there was a failure reading or writing to the request or response
-
serveJson
public void serveJson(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response) throws IOExceptionDescription copied from interface:ClientsidePropertyServiceCoreAdd the JSON from theFlowDataobject to theHttpServletResponse- Specified by:
serveJsonin interfaceClientsidePropertyServiceCore- Parameters:
request- theHttpServletRequestcontaining theFlowDataresponse- theHttpServletResponseto add the JSON to- Throws:
IOException- if there was a failure reading or writing to the request or response
-
serveContent
public void serveContent(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, fiftyone.pipeline.web.services.ClientsidePropertyServiceCore.Default.ContentTypes contentType) throws IOException- Throws:
IOException
-
-