public final class ConstantElement extends Object implements LogElement
LogElement.Event| Modifier and Type | Field and Description | 
|---|---|
| static ConstantElement | UNKNOWNThe unknown LogElement. | 
| static String | UNKNOWN_VALUEThe unknown value: '-'. | 
| Modifier and Type | Method and Description | 
|---|---|
| LogElement | copy()Copy this log element when it is not stateless. | 
| Set<LogElement.Event> | events()The sets of events that this log element must process. | 
| String | onRequestHeaders(io.netty.channel.socket.SocketChannel channel,
                String method,
                io.netty.handler.codec.http.HttpHeaders headers,
                String uri,
                String protocol)Responds to an ON_REQUEST_HEADERS event. | 
| String | toString() | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitonLastResponseWrite, onResponseHeaders, onResponseWrite, resetpublic static final String UNKNOWN_VALUE
public static final ConstantElement UNKNOWN
public String onRequestHeaders(io.netty.channel.socket.SocketChannel channel, String method, io.netty.handler.codec.http.HttpHeaders headers, String uri, String protocol)
LogElementonRequestHeaders in interface LogElementchannel - The socket channel.method - The http method.headers - The request headers.uri - The request uri.protocol - The request protocol.public Set<LogElement.Event> events()
LogElementevents in interface LogElementpublic LogElement copy()
LogElementcopy in interface LogElement