Package 

Enum Level

  • All Implemented Interfaces:
    java.io.Serializable , kotlin.Comparable

    
    public enum Level
    extends Enum<Level>
                        

    Http requests/response log level.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Constructor Summary

      Constructors 
      Constructor Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
      NONE

      No logs.

      BASIC

      Logs request and response lines.

      Example:

      <pre>`--> POST /greeting http/1.1 (3-byte body) <-- 200 OK (22ms, 6-byte body) `</pre> *
      HEADERS

      Logs 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> *
      BODY

      Logs 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
      • Methods inherited from class kotlin.Enum

        getName, getOrdinal
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

    • Method Detail