\r\n

51Degrees Pipeline Java  4.4

51Degrees Pipeline for Java

fiftyone.pipeline.web.StartupHelpers Class Reference

Detailed Description

Static methods used on server startup to configure and build the Pipeline and services needed.

Static Public Member Functions

static Pipeline  buildFromConfiguration (PipelineBuilder builder, PipelineOptions options, boolean clientSideEvidenceEnabled) throws Exception
Configure the extra web elements required and build the Pipeline using the PipelineBuilder#buildFromConfiguration(PipelineOptions) method. More...
static Pipeline  buildFromConfiguration (PipelineBuilder builder, PipelineOptions options, boolean clientSideEvidenceEnabled, String contextRoot) throws Exception
Configure the extra web elements required and build the Pipeline using the PipelineBuilder#buildFromConfiguration(PipelineOptions) method. More...

Member Function Documentation

◆ buildFromConfiguration() [1/2]

static Pipeline fiftyone.pipeline.web.StartupHelpers.buildFromConfiguration ( PipelineBuilder   builder,
PipelineOptions   options,
boolean   clientSideEvidenceEnabled  
) throws Exception
static

Configure the extra web elements required and build the Pipeline using the PipelineBuilder#buildFromConfiguration(PipelineOptions) method.

Parameters
builder - to build the Pipeline
options - to build the Pipeline with
clientSideEvidenceEnabled - true if client-side evidence is enabled in the configuration. This will add JSON and JavaScript elements to the Pipeline
Returns
new Pipeline instance
Exceptions
Exception - if there was an error building the Pipeline

◆ buildFromConfiguration() [2/2]

static Pipeline fiftyone.pipeline.web.StartupHelpers.buildFromConfiguration ( PipelineBuilder   builder,
PipelineOptions   options,
boolean   clientSideEvidenceEnabled,
String   contextRoot  
) throws Exception
static

Configure the extra web elements required and build the Pipeline using the PipelineBuilder#buildFromConfiguration(PipelineOptions) method.

Parameters
builder - to build the Pipeline
options - to build the Pipeline with
clientSideEvidenceEnabled - true if client-side evidence is enabled in the configuration. This will add JSON and JavaScript elements to the Pipeline
contextRoot - The context-root setting from the web.xml. This is needed in order to create the correct callback URL for the JavascriptBuilder.
Returns
new Pipeline instance
Exceptions
Exception - if there was an error building the Pipeline