Package io.vertx.rxjava3.ext.web.handler
Class LoggerFormatter
- java.lang.Object
-
- io.vertx.rxjava3.ext.web.handler.LoggerFormatter
-
- All Implemented Interfaces:
io.vertx.lang.rx.RxDelegate
public class LoggerFormatter extends Object implements io.vertx.lang.rx.RxDelegate
Implement to format the output of theLoggerHandlerNOTE: This class has been automatically generated from the
originalnon RX-ified interface using Vert.x codegen.
-
-
Field Summary
Fields Modifier and Type Field Description static io.vertx.lang.rx.TypeArg<LoggerFormatter>__TYPE_ARG
-
Constructor Summary
Constructors Constructor Description LoggerFormatter(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)Formats and returns the log statementLoggerFormattergetDelegate()inthashCode()static LoggerFormatternewInstance(LoggerFormatter arg)StringtoString()
-
-
-
Field Detail
-
__TYPE_ARG
public static final io.vertx.lang.rx.TypeArg<LoggerFormatter> __TYPE_ARG
-
-
Constructor Detail
-
LoggerFormatter
public LoggerFormatter(LoggerFormatter delegate)
-
LoggerFormatter
public LoggerFormatter(Object delegate)
-
-
Method Detail
-
getDelegate
public LoggerFormatter getDelegate()
- Specified by:
getDelegatein interfaceio.vertx.lang.rx.RxDelegate
-
format
public String format(RoutingContext routingContext, long ms)
Formats and returns the log statement- 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(LoggerFormatter arg)
-
-