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