Class WebRequestEvidenceServiceCore.Default

    • Constructor Detail

      • Default

        public Default()
    • Method Detail

      • addEvidenceFromRequest

        public void addEvidenceFromRequest​(fiftyone.pipeline.core.data.FlowData flowData,
                                           javax.servlet.http.HttpServletRequest request)
        Description copied from interface: WebRequestEvidenceServiceCore
        Collect all the evidence needed from the request and add to the FlowData instance.
        Specified by:
        addEvidenceFromRequest in interface WebRequestEvidenceServiceCore
        Parameters:
        flowData - to get the FlowData.getEvidenceKeyFilter() from and add the evidence to
        request - the HttpServletRequest to get the evidence from
      • checkAndAdd

        protected void checkAndAdd​(fiftyone.pipeline.core.data.FlowData flowData,
                                   String key,
                                   Object value)
        Check if the FlowData requires this item of evidence, and add it if it does.
        Parameters:
        flowData - to check and add to
        key - the key to check and add
        value - the value to add if the check passes