public class StatusCodes
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Represents the percentage of requests over the last 10 seconds that resulted in each type of status code response. For more information, see Status Code Definitions.
Modifier and Type | Field and Description |
---|---|
private java.lang.Integer |
status2xx
The percentage of requests over the last 10 seconds that resulted in a
2xx (200, 201, etc.) status code.
|
private java.lang.Integer |
status3xx
The percentage of requests over the last 10 seconds that resulted in a
3xx (300, 301, etc.) status code.
|
private java.lang.Integer |
status4xx
The percentage of requests over the last 10 seconds that resulted in a
4xx (400, 401, etc.) status code.
|
private java.lang.Integer |
status5xx
The percentage of requests over the last 10 seconds that resulted in a
5xx (500, 501, etc.) status code.
|
Constructor and Description |
---|
StatusCodes() |
Modifier and Type | Method and Description |
---|---|
StatusCodes |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.Integer |
getStatus2xx()
The percentage of requests over the last 10 seconds that resulted in a
2xx (200, 201, etc.) status code.
|
java.lang.Integer |
getStatus3xx()
The percentage of requests over the last 10 seconds that resulted in a
3xx (300, 301, etc.) status code.
|
java.lang.Integer |
getStatus4xx()
The percentage of requests over the last 10 seconds that resulted in a
4xx (400, 401, etc.) status code.
|
java.lang.Integer |
getStatus5xx()
The percentage of requests over the last 10 seconds that resulted in a
5xx (500, 501, etc.) status code.
|
int |
hashCode() |
void |
setStatus2xx(java.lang.Integer status2xx)
The percentage of requests over the last 10 seconds that resulted in a
2xx (200, 201, etc.) status code.
|
void |
setStatus3xx(java.lang.Integer status3xx)
The percentage of requests over the last 10 seconds that resulted in a
3xx (300, 301, etc.) status code.
|
void |
setStatus4xx(java.lang.Integer status4xx)
The percentage of requests over the last 10 seconds that resulted in a
4xx (400, 401, etc.) status code.
|
void |
setStatus5xx(java.lang.Integer status5xx)
The percentage of requests over the last 10 seconds that resulted in a
5xx (500, 501, etc.) status code.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StatusCodes |
withStatus2xx(java.lang.Integer status2xx)
The percentage of requests over the last 10 seconds that resulted in a
2xx (200, 201, etc.) status code.
|
StatusCodes |
withStatus3xx(java.lang.Integer status3xx)
The percentage of requests over the last 10 seconds that resulted in a
3xx (300, 301, etc.) status code.
|
StatusCodes |
withStatus4xx(java.lang.Integer status4xx)
The percentage of requests over the last 10 seconds that resulted in a
4xx (400, 401, etc.) status code.
|
StatusCodes |
withStatus5xx(java.lang.Integer status5xx)
The percentage of requests over the last 10 seconds that resulted in a
5xx (500, 501, etc.) status code.
|
private java.lang.Integer status2xx
The percentage of requests over the last 10 seconds that resulted in a 2xx (200, 201, etc.) status code.
private java.lang.Integer status3xx
The percentage of requests over the last 10 seconds that resulted in a 3xx (300, 301, etc.) status code.
private java.lang.Integer status4xx
The percentage of requests over the last 10 seconds that resulted in a 4xx (400, 401, etc.) status code.
private java.lang.Integer status5xx
The percentage of requests over the last 10 seconds that resulted in a 5xx (500, 501, etc.) status code.
public void setStatus2xx(java.lang.Integer status2xx)
The percentage of requests over the last 10 seconds that resulted in a 2xx (200, 201, etc.) status code.
status2xx
- The percentage of requests over the last 10 seconds that resulted
in a 2xx (200, 201, etc.) status code.public java.lang.Integer getStatus2xx()
The percentage of requests over the last 10 seconds that resulted in a 2xx (200, 201, etc.) status code.
public StatusCodes withStatus2xx(java.lang.Integer status2xx)
The percentage of requests over the last 10 seconds that resulted in a 2xx (200, 201, etc.) status code.
status2xx
- The percentage of requests over the last 10 seconds that resulted
in a 2xx (200, 201, etc.) status code.public void setStatus3xx(java.lang.Integer status3xx)
The percentage of requests over the last 10 seconds that resulted in a 3xx (300, 301, etc.) status code.
status3xx
- The percentage of requests over the last 10 seconds that resulted
in a 3xx (300, 301, etc.) status code.public java.lang.Integer getStatus3xx()
The percentage of requests over the last 10 seconds that resulted in a 3xx (300, 301, etc.) status code.
public StatusCodes withStatus3xx(java.lang.Integer status3xx)
The percentage of requests over the last 10 seconds that resulted in a 3xx (300, 301, etc.) status code.
status3xx
- The percentage of requests over the last 10 seconds that resulted
in a 3xx (300, 301, etc.) status code.public void setStatus4xx(java.lang.Integer status4xx)
The percentage of requests over the last 10 seconds that resulted in a 4xx (400, 401, etc.) status code.
status4xx
- The percentage of requests over the last 10 seconds that resulted
in a 4xx (400, 401, etc.) status code.public java.lang.Integer getStatus4xx()
The percentage of requests over the last 10 seconds that resulted in a 4xx (400, 401, etc.) status code.
public StatusCodes withStatus4xx(java.lang.Integer status4xx)
The percentage of requests over the last 10 seconds that resulted in a 4xx (400, 401, etc.) status code.
status4xx
- The percentage of requests over the last 10 seconds that resulted
in a 4xx (400, 401, etc.) status code.public void setStatus5xx(java.lang.Integer status5xx)
The percentage of requests over the last 10 seconds that resulted in a 5xx (500, 501, etc.) status code.
status5xx
- The percentage of requests over the last 10 seconds that resulted
in a 5xx (500, 501, etc.) status code.public java.lang.Integer getStatus5xx()
The percentage of requests over the last 10 seconds that resulted in a 5xx (500, 501, etc.) status code.
public StatusCodes withStatus5xx(java.lang.Integer status5xx)
The percentage of requests over the last 10 seconds that resulted in a 5xx (500, 501, etc.) status code.
status5xx
- The percentage of requests over the last 10 seconds that resulted
in a 5xx (500, 501, etc.) status code.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public StatusCodes clone()
clone
in class java.lang.Object