Package fiftyone.pipeline.web.services
Class WebRequestEvidenceServiceCore.Default
- java.lang.Object
-
- fiftyone.pipeline.web.services.WebRequestEvidenceServiceCore.Default
-
- All Implemented Interfaces:
WebRequestEvidenceServiceCore
- Enclosing interface:
- WebRequestEvidenceServiceCore
public static class WebRequestEvidenceServiceCore.Default extends Object implements WebRequestEvidenceServiceCore
Default implementation of theWebRequestEvidenceServiceCoreservice.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface fiftyone.pipeline.web.services.WebRequestEvidenceServiceCore
WebRequestEvidenceServiceCore.Default
-
-
Constructor Summary
Constructors Constructor Description Default()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidaddEvidenceFromRequest(fiftyone.pipeline.core.data.FlowData flowData, javax.servlet.http.HttpServletRequest request)Collect all the evidence needed from the request and add to theFlowDatainstance.protected voidcheckAndAdd(fiftyone.pipeline.core.data.FlowData flowData, String key, Object value)Check if theFlowDatarequires this item of evidence, and add it if it does.
-
-
-
Method Detail
-
addEvidenceFromRequest
public void addEvidenceFromRequest(fiftyone.pipeline.core.data.FlowData flowData, javax.servlet.http.HttpServletRequest request)Description copied from interface:WebRequestEvidenceServiceCoreCollect all the evidence needed from the request and add to theFlowDatainstance.- Specified by:
addEvidenceFromRequestin interfaceWebRequestEvidenceServiceCore- Parameters:
flowData- to get theFlowData.getEvidenceKeyFilter()from and add the evidence torequest- theHttpServletRequestto get the evidence from
-
checkAndAdd
protected void checkAndAdd(fiftyone.pipeline.core.data.FlowData flowData, String key, Object value)Check if theFlowDatarequires this item of evidence, and add it if it does.- Parameters:
flowData- to check and add tokey- the key to check and addvalue- the value to add if the check passes
-
-