Class LoggerFormatter

java.lang.Object
io.vertx.mutiny.ext.web.handler.LoggerFormatter
All Implemented Interfaces:
MutinyDelegate

public class LoggerFormatter extends Object implements MutinyDelegate
Implement to format the output of the LoggerHandler

NOTE: This class has been automatically generated from the original non Mutiny-ified interface using Vert.x codegen.

  • Field Details

  • Constructor Details

    • LoggerFormatter

      public LoggerFormatter(io.vertx.ext.web.handler.LoggerFormatter delegate)
    • LoggerFormatter

      public LoggerFormatter(Object delegate)
  • Method Details

    • getDelegate

      public io.vertx.ext.web.handler.LoggerFormatter getDelegate()
      Specified by:
      getDelegate in interface MutinyDelegate
      Returns:
      the delegate used by this Mutiny object of generated type
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • format

      public String format(RoutingContext routingContext, long ms)
      Parameters:
      routingContext - The routing context
      ms - The number of milliseconds since first receiving the request
      Returns:
      The formatted string to log
    • newInstance

      public static LoggerFormatter newInstance(io.vertx.ext.web.handler.LoggerFormatter arg)