Package io.vertx.rxjava3.ext.web.handler
Class LoggerFormatter
- java.lang.Object
-
- io.vertx.rxjava3.ext.web.handler.LoggerFormatter
-
public class LoggerFormatter extends Object
Implement to format the output of theLoggerHandler
NOTE: This class has been automatically generated from the
original
non 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 boolean
equals(Object o)
String
format(RoutingContext routingContext, long ms)
Formats and returns the log statementLoggerFormatter
getDelegate()
int
hashCode()
static LoggerFormatter
newInstance(LoggerFormatter arg)
String
toString()
-
-
-
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()
-
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)
-
-