public interface LogElement
| Modifier and Type | Interface and Description | 
|---|---|
static class  | 
LogElement.Event
Events. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
LogElement | 
copy()
Copy this log element when it is not stateless. 
 | 
java.util.Set<LogElement.Event> | 
events()
The sets of events that this log element must process. 
 | 
default java.lang.String | 
onLastResponseWrite(int bytesSent)
Responds to an ON_LAST_RESPONSE_WRITE event. 
 | 
default java.lang.String | 
onRequestHeaders(io.netty.channel.socket.SocketChannel channel,
                java.lang.String method,
                io.netty.handler.codec.http.HttpHeaders headers,
                java.lang.String uri,
                java.lang.String protocol)
Responds to an ON_REQUEST_HEADERS event. 
 | 
default java.lang.String | 
onResponseHeaders(io.netty.channel.ChannelHandlerContext ctx,
                 io.netty.handler.codec.http.HttpHeaders headers,
                 java.lang.String status)
Responds to an ON_RESPONSE_HEADERS event. 
 | 
default void | 
onResponseWrite(int bytesSent)
Responds to an ON_RESPONSE_WRITE event. 
 | 
default void | 
reset()
Reset the computed value. 
 | 
java.util.Set<LogElement.Event> events()
default void reset()
default java.lang.String onRequestHeaders(io.netty.channel.socket.SocketChannel channel,
                                          java.lang.String method,
                                          io.netty.handler.codec.http.HttpHeaders headers,
                                          java.lang.String uri,
                                          java.lang.String protocol)
channel - The socket channel.method - The http method.headers - The request headers.uri - The request uri.protocol - The request protocol.default java.lang.String onResponseHeaders(io.netty.channel.ChannelHandlerContext ctx,
                                           io.netty.handler.codec.http.HttpHeaders headers,
                                           java.lang.String status)
ctx - The ChannelHandlerContext.headers - The response headers.status - The response status.default void onResponseWrite(int bytesSent)
bytesSent - The number of bytes sent.default java.lang.String onLastResponseWrite(int bytesSent)
bytesSent - The number of bytes sent.LogElement copy()