51Degrees Pipeline Java  4.1

51Degrees Pipeline for Java

fiftyone.pipeline.engines.fiftyone.flowelements.ShareUsageBuilder Class Reference

Detailed Description

Builder class that is used to create ShareUsageElement.

Inheritance diagram for fiftyone.pipeline.engines.fiftyone.flowelements.ShareUsageBuilder:

[legend]

Collaboration diagram for fiftyone.pipeline.engines.fiftyone.flowelements.ShareUsageBuilder:

[legend]

Public Member Functions

 ShareUsageBuilder (ILoggerFactory loggerFactory, HttpClient httpClient)
Constructor. More...
 ShareUsageBuilder (ILoggerFactory loggerFactory, Logger logger, HttpClient httpClient)
Constructor. More...
ShareUsageElement  build ()

Public Member Functions inherited from fiftyone.pipeline.engines.fiftyone.flowelements.ShareUsageBuilderBase< ShareUsageElement >

 ShareUsageBuilderBase (ILoggerFactory loggerFactory)
Constructor. More...
 ShareUsageBuilderBase (ILoggerFactory loggerFactory, Logger logger)
Constructor. More...
ShareUsageBuilderBase< T >  setIncludedQueryStringParameters (List< String > queryStringParameterNames)
Add parameter names to the (case insensitive) list of names of query string parameters that will be sent to 51Degrees. More...
ShareUsageBuilderBase< T >  setIncludedQueryStringParameters (String queryStringParameterNames)
Add parameter names to the (case insensitive) list of names of query string parameters that will be sent to 51Degrees. More...
ShareUsageBuilderBase< T >  setIncludedQueryStringParameter (String queryStringParameterName)
Add a parameter name to the (case insensitive) list of names of query string parameters that will be sent to 51Degrees. More...
ShareUsageBuilderBase< T >  setBlockedHttpHeaders (List< String > blockedHeaders)
Set the (case insensitive) names of HTTP headers that will not be sent to 51Degrees. More...
ShareUsageBuilderBase< T >  setBlockedHttpHeader (String blockedHeader)
Add a header to the (case insensitive) list of names of HTTP headers that will not be sent to 51Degrees. More...
ShareUsageBuilderBase< T >  setIgnoreFlowDataEvidenceFilter (String evidenceFilter)
Adds evidence key:values to the filter such that requests which contain this evidence are ignored. More...
ShareUsageBuilderBase< T >  setSharePercentage (double sharePercentage)
Set the percentage of data that the ShareUsageElement should be sharing. More...
ShareUsageBuilderBase< T >  setMinimumEntriesPerMessage (int minimumEntriesPerMessage)
Set the minimum number of entries to be aggregated by the ShareUsageElement before they are sent to the remote service. More...
ShareUsageBuilderBase< T >  setMaximumQueueSize (int size)
Set the maximum number of entries to be stored in the queue to be sent. More...
ShareUsageBuilderBase< T >  setAddTimeout (int milliseconds)
Set the timeout in milliseconds to allow when attempting to add an item to the queue. More...
ShareUsageBuilderBase< T >  setTakeTimeout (int milliseconds)
Set the timeout in milliseconds to allow when attempting to take an item from the queue in order to send to the remote service. More...
ShareUsageBuilderBase< T >  setShareUsageUrl (String shareUsageUrl)
Set the URL to use when sharing usage data. More...
ShareUsageBuilderBase< T >  setSessionCookieName (String cookieName)
Set the name of the cookie that contains the session id. More...
ShareUsageBuilderBase< T >  setRepeatEvidenceIntervalMinutes (int interval)
Set the interval which determines if a non-unique piece of evidence is repeat evidence or new. More...
ShareUsageBuilderBase< T >  setTrackSession (boolean track)
Enable or disable session tracking. More...
abstract T  build () throws IOException

Constructor & Destructor Documentation

◆ ShareUsageBuilder() [1/2]

fiftyone.pipeline.engines.fiftyone.flowelements.ShareUsageBuilder.ShareUsageBuilder ( ILoggerFactory   loggerFactory,
HttpClient   httpClient  
)

Constructor.

Parameters
loggerFactory - the ILoggerFactory to use when creating loggers for a ShareUsageElement
httpClient - the HttpClient that ShareUsageElement should use for sending data