◆ __init__()
def fiftyone_pipeline_core.setheaderelement.SetHeaderElement.__init__ | ( | self | ) |
List of Pipelines the FlowElement has been added to.
Reimplemented from fiftyone_pipeline_core.flowelement.FlowElement.
\r\n
Set response headers element class.
This is used to get response headers based on what the browser supports. For example, newer Chrome browsers support the Accept-CH header.
def | __init__ (self)
List of Pipelines the FlowElement has been added to. More...
|
def | process_internal (self, flowdata)
Add the response header dictionary to the FlowData. More...
|
def | get_setheader_properties_pipeline (self, pipeline)
Get All the properties starting with SetHeader string from pipeline. More...
|
def | get_response_header_value (self, flowData, setHeader_properties_dict)
Get response header value using set header properties from FlowData. More...
|
def | get_property_value (self, flowData, element_key, property_key)
Try to get the value for the given element and property. More...
|
def | get_response_header_name (self, property_key)
Determines which response header the property value will be appended to by stripping the 'SetHeader' string and the 'Component Name' from the property name. More...
|
Public Member Functions inherited from fiftyone_pipeline_core.flowelement.FlowElement | |
def | process (self, flowdata)
Function for getting the FlowElement's EvidenceKeyFilter Used by the filterEvidence method. More...
|
def | on_registration (self, pipeline)
Function called when an element is added to the pipeline. More...
|
def | get_evidence_key_filter (self)
Filter FlowData evidence using the FlowElement's EvidenceKeyFilter. More...
|
def | filter_evidence (self, flowdata)
Filter FlowData evidence using the FlowElement's EvidenceKeyFilter. More...
|
def | filter_evidence_key (self, key)
Filter FlowData.evidence using the flowElement's EvidenceKeyFilter with the property key of evidence of interest. More...
|
def | get_properties (self) |
def fiftyone_pipeline_core.setheaderelement.SetHeaderElement.__init__ | ( | self | ) |
List of Pipelines the FlowElement has been added to.
Reimplemented from fiftyone_pipeline_core.flowelement.FlowElement.
def fiftyone_pipeline_core.setheaderelement.SetHeaderElement.get_property_value | ( | self, | |
flowData, | |||
element_key, | |||
property_key | |||
) |
Try to get the value for the given element and property.
If the value cannot be found or is null/unknown, then "" will be returned.
def fiftyone_pipeline_core.setheaderelement.SetHeaderElement.get_response_header_name | ( | self, | |
property_key | |||
) |
Determines which response header the property value will be appended to by stripping the 'SetHeader' string and the 'Component Name' from the property name.
def fiftyone_pipeline_core.setheaderelement.SetHeaderElement.get_response_header_value | ( | self, | |
flowData, | |||
setHeader_properties_dict | |||
) |
Get response header value using set header properties from FlowData.
@type flowdata: FlowData
def fiftyone_pipeline_core.setheaderelement.SetHeaderElement.get_setheader_properties_pipeline | ( | self, | |
pipeline | |||
) |
Get All the properties starting with SetHeader string from pipeline.
def fiftyone_pipeline_core.setheaderelement.SetHeaderElement.process_internal | ( | self, | |
flowdata | |||
) |
Add the response header dictionary to the FlowData.
@type flowdata: FlowData
Reimplemented from fiftyone_pipeline_core.flowelement.FlowElement.
fiftyone_pipeline_core.setheaderelement.SetHeaderElement.datakey |
fiftyone_pipeline_core.setheaderelement.SetHeaderElement.exclude_from_messages |
fiftyone_pipeline_core.setheaderelement.SetHeaderElement.properties |
fiftyone_pipeline_core.setheaderelement.SetHeaderElement.setheader_properties |