public final class ConstantElement extends java.lang.Object implements LogElement
LogElement.Event| Modifier and Type | Field and Description | 
|---|---|
| static ConstantElement | UNKNOWNThe unknown LogElement. | 
| static java.lang.String | UNKNOWN_VALUEThe unknown value: '-'. | 
| 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. | 
| 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. | 
| java.lang.String | toString() | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitonLastResponseWrite, onResponseHeaders, onResponseWrite, resetpublic static final java.lang.String UNKNOWN_VALUE
public static final ConstantElement UNKNOWN
public 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)
LogElementonRequestHeaders in interface LogElementchannel - The socket channel.method - The http method.headers - The request headers.uri - The request uri.protocol - The request protocol.public java.util.Set<LogElement.Event> events()
LogElementevents in interface LogElementpublic LogElement copy()
LogElementcopy in interface LogElementpublic java.lang.String toString()
toString in class java.lang.Object