Package org.zaproxy.zap.extension.ascan
Class ResponseCountSnapshot
- java.lang.Object
-
- org.zaproxy.zap.extension.ascan.ResponseCountSnapshot
-
public class ResponseCountSnapshot extends java.lang.Object
Represents a snapshot of response counts, grouped by response code groups
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ResponseCountSnapshot.RESPONSE_CODE_RANGE
-
Constructor Summary
Constructors Constructor Description ResponseCountSnapshot()
ResponseCountSnapshot(java.util.Date date, int period, int resp100, int resp200, int resp300, int resp400, int resp500)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ResponseCountSnapshot
clone()
java.util.Date
getDate()
ResponseCountSnapshot
getDifference(ResponseCountSnapshot previous)
int
getPeriod()
int
getResp100()
int
getResp200()
int
getResp300()
int
getResp400()
int
getResp500()
int
getResponseCodeCount(ResponseCountSnapshot.RESPONSE_CODE_RANGE rcr)
int
getTotal()
void
incResponseCodeCount(int responseCode)
void
incResponseCodeCount(ResponseCountSnapshot.RESPONSE_CODE_RANGE rcr)
-
-
-
Method Detail
-
getDifference
public ResponseCountSnapshot getDifference(ResponseCountSnapshot previous)
-
getDate
public java.util.Date getDate()
-
getResponseCodeCount
public int getResponseCodeCount(ResponseCountSnapshot.RESPONSE_CODE_RANGE rcr)
-
incResponseCodeCount
public void incResponseCodeCount(int responseCode)
-
incResponseCodeCount
public void incResponseCodeCount(ResponseCountSnapshot.RESPONSE_CODE_RANGE rcr)
-
getPeriod
public int getPeriod()
-
getResp100
public int getResp100()
-
getResp200
public int getResp200()
-
getResp300
public int getResp300()
-
getResp400
public int getResp400()
-
getResp500
public int getResp500()
-
getTotal
public int getTotal()
-
clone
public ResponseCountSnapshot clone()
- Overrides:
clone
in classjava.lang.Object
-
-