public class LoggerHandler extends Object implements io.vertx.core.Handler<RoutingContext>
original
non RX-ified interface using Vert.x codegen.Modifier and Type | Field and Description |
---|---|
static TypeArg<LoggerHandler> |
__TYPE_ARG |
static io.vertx.ext.web.handler.LoggerFormat |
DEFAULT_FORMAT |
Constructor and Description |
---|
LoggerHandler(io.vertx.ext.web.handler.LoggerHandler delegate) |
LoggerHandler(Object delegate) |
Modifier and Type | Method and Description |
---|---|
static LoggerHandler |
create()
Create a handler with default format
|
static LoggerHandler |
create(boolean immediate,
io.vertx.ext.web.handler.LoggerFormat format)
Create a handler with he specified format
|
static LoggerHandler |
create(io.vertx.ext.web.handler.LoggerFormat format)
Create a handler with he specified format
|
boolean |
equals(Object o) |
io.vertx.ext.web.handler.LoggerHandler |
getDelegate() |
void |
handle(RoutingContext event)
Something has happened, so handle it.
|
int |
hashCode() |
static LoggerHandler |
newInstance(io.vertx.ext.web.handler.LoggerHandler arg) |
String |
toString() |
public static final TypeArg<LoggerHandler> __TYPE_ARG
public static final io.vertx.ext.web.handler.LoggerFormat DEFAULT_FORMAT
public LoggerHandler(io.vertx.ext.web.handler.LoggerHandler delegate)
public LoggerHandler(Object delegate)
public io.vertx.ext.web.handler.LoggerHandler getDelegate()
public void handle(RoutingContext event)
handle
in interface io.vertx.core.Handler<RoutingContext>
event
- the event to handlepublic static LoggerHandler create()
public static LoggerHandler create(io.vertx.ext.web.handler.LoggerFormat format)
format
- the formatpublic static LoggerHandler create(boolean immediate, io.vertx.ext.web.handler.LoggerFormat format)
immediate
- true if logging should occur as soon as request arrivesformat
- the formatpublic static LoggerHandler newInstance(io.vertx.ext.web.handler.LoggerHandler arg)
Copyright © 2021 Eclipse. All rights reserved.