Package ai.tock.shared
Enum Level
-
-
Enum Constant Summary
Enum Constants Enum Constant Description NONENo logs.
BASICLogs request and response lines.
Example:
<pre>`--> POST /greeting http/1.1 (3-byte body) <-- 200 OK (22ms, 6-byte body) `</pre> *HEADERSLogs request and response lines and their respective headers.
Example:
<pre>`--> POST /greeting http/1.1 Host: example.com Content-Type: plain/text Content-Length: 3 --> END POST <-- 200 OK (22ms) Content-Type: plain/text Content-Length: 6 <-- END HTTP `</pre> *BODYLogs request and response lines and their respective headers and bodies (if present).
Example:
<pre>`--> POST /greeting http/1.1 Host: example.com Content-Type: plain/text Content-Length: 3 Hi? --> END GET <-- 200 OK (22ms) Content-Type: plain/text Content-Length: 6 Hello! <-- END HTTP `</pre> *
-
Method Summary
Modifier and Type Method Description final LevelvalueOf(String value)Returns the enum constant of this type with the specified name. final Array<Level>values()Returns an array containing the constants of this enum type, in the order they're declared. final EnumEntries<Level>getEntries()Http requests/response log level. -
-
Method Detail
-
valueOf
final Level valueOf(String value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
-
values
final Array<Level> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getEntries
final EnumEntries<Level> getEntries()
Http requests/response log level.
-
-
-
-