public class AlgDetectSession extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| AlgDetectSession() | 
| AlgDetectSession(AlgDetectSession source)NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy,
       and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy. | 
| Modifier and Type | Method and Description | 
|---|---|
| AlgDetectResult[] | getAlgDetectResults()Get Cookie validation results. | 
| String | getDetectMode()Get The validation mode. | 
| Long | getInvalidStatTime()Get The period threshold for validating the result "No Cookie/Cookie expired" in seconds. | 
| Long | getInvalidThreshold()Get The number of times for the result "No Cookie/Cookie expired" occurred in the specified period. | 
| String | getName()Get Method to validate Cookie. | 
| String | getSessionAnalyzeSwitch()Get Whether to enable Cookie-based session check. | 
| AlgDetectResult[] | getSessionBehaviors()Get Cookie-based session check results. | 
| void | setAlgDetectResults(AlgDetectResult[] AlgDetectResults)Set Cookie validation results. | 
| void | setDetectMode(String DetectMode)Set The validation mode. | 
| void | setInvalidStatTime(Long InvalidStatTime)Set The period threshold for validating the result "No Cookie/Cookie expired" in seconds. | 
| void | setInvalidThreshold(Long InvalidThreshold)Set The number of times for the result "No Cookie/Cookie expired" occurred in the specified period. | 
| void | setName(String Name)Set Method to validate Cookie. | 
| void | setSessionAnalyzeSwitch(String SessionAnalyzeSwitch)Set Whether to enable Cookie-based session check. | 
| void | setSessionBehaviors(AlgDetectResult[] SessionBehaviors)Set Cookie-based session check results. | 
| void | toMap(HashMap<String,String> map,
     String prefix)Internal implementation, normal users should not use it. | 
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonStringpublic AlgDetectSession()
public AlgDetectSession(AlgDetectSession source)
public String getName()
public void setName(String Name)
Name - Method to validate Cookie.public String getDetectMode()
public void setDetectMode(String DetectMode)
DetectMode - The validation mode. Values:
public String getSessionAnalyzeSwitch()
public void setSessionAnalyzeSwitch(String SessionAnalyzeSwitch)
SessionAnalyzeSwitch - Whether to enable Cookie-based session check. The default value is `off`. Values:
public Long getInvalidStatTime()
public void setInvalidStatTime(Long InvalidStatTime)
InvalidStatTime - The period threshold for validating the result "No Cookie/Cookie expired" in seconds. Value range: 5-3600. Default value: 10.public Long getInvalidThreshold()
public void setInvalidThreshold(Long InvalidThreshold)
InvalidThreshold - The number of times for the result "No Cookie/Cookie expired" occurred in the specified period. Value range: 1-100000000. Default value: 300.public AlgDetectResult[] getAlgDetectResults()
public void setAlgDetectResults(AlgDetectResult[] AlgDetectResults)
AlgDetectResults - Cookie validation results.public AlgDetectResult[] getSessionBehaviors()
public void setSessionBehaviors(AlgDetectResult[] SessionBehaviors)
SessionBehaviors - Cookie-based session check results.Copyright © 2025. All rights reserved.