Package io.vertx.mutiny.ext.web.handler
Class LoggerFormatter
- java.lang.Object
-
- io.vertx.mutiny.ext.web.handler.LoggerFormatter
-
public class LoggerFormatter extends Object
Implement to format the output of theLoggerHandlerNOTE: This class has been automatically generated from theoriginalnon Mutiny-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static TypeArg<LoggerFormatter>__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description LoggerFormatter(io.vertx.ext.web.handler.LoggerFormatter delegate)LoggerFormatter(Object delegate)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)Stringformat(RoutingContext routingContext, long ms)io.vertx.ext.web.handler.LoggerFormattergetDelegate()inthashCode()static LoggerFormatternewInstance(io.vertx.ext.web.handler.LoggerFormatter arg)StringtoString()
-
-
-
Field Detail
-
__TYPE_ARG
public static final TypeArg<LoggerFormatter> __TYPE_ARG
-
-
Constructor Detail
-
LoggerFormatter
public LoggerFormatter(io.vertx.ext.web.handler.LoggerFormatter delegate)
-
LoggerFormatter
public LoggerFormatter(Object delegate)
-
-
Method Detail
-
getDelegate
public io.vertx.ext.web.handler.LoggerFormatter getDelegate()
-
format
public String format(RoutingContext routingContext, long ms)
- Parameters:
routingContext- The routing contextms- 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)
-
-