Package io.vertx.mutiny.ext.web.handler
Class LoggerFormatter
java.lang.Object
io.vertx.mutiny.ext.web.handler.LoggerFormatter
- All Implemented Interfaces:
MutinyDelegate
Implement to format the output of the
LoggerHandler
NOTE: This class has been automatically generated from the original non Mutiny-ified interface.
- Author:
- Paulo Lopes, Thomas Cederholm
- See Also:
-
LoggerFormatter
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLoggerFormatter(io.vertx.ext.web.handler.LoggerFormatter delegate) Create a new instance ofLoggerFormatterdelegating to the given (non-null) instance ofLoggerFormatter.LoggerFormatter(Object delegate) -
Method Summary
Modifier and TypeMethodDescriptionbooleanformat(RoutingContext routingContext, long ms) Formats and returns the log statementio.vertx.ext.web.handler.LoggerFormatterGet the delegate instance.inthashCode()static LoggerFormatternewInstance(io.vertx.ext.web.handler.LoggerFormatter delegate) Creates a new instance of theLoggerFormatter.toString()
-
Field Details
-
__TYPE_ARG
-
-
Constructor Details
-
LoggerFormatter
public LoggerFormatter(io.vertx.ext.web.handler.LoggerFormatter delegate) Create a new instance ofLoggerFormatterdelegating to the given (non-null) instance ofLoggerFormatter. -
LoggerFormatter
-
-
Method Details
-
getDelegate
public io.vertx.ext.web.handler.LoggerFormatter getDelegate()Get the delegate instance.This method returns the instance on which this shim is delegating the calls. And so, give you access to the bare API.
- Specified by:
getDelegatein interfaceMutinyDelegate- Returns:
- the delegate instance
-
format
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
Creates a new instance of theLoggerFormatter. -
hashCode
public int hashCode() -
equals
-
toString
-