public class SessionLogElement extends java.lang.Object implements LogElement
LogElement.Event
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
SESSION
The session marker.
|
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 |
onResponseHeaders(io.netty.channel.ChannelHandlerContext ctx,
io.netty.handler.codec.http.HttpHeaders headers,
java.lang.String status)
Responds to an ON_RESPONSE_HEADERS event.
|
java.lang.String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
onLastResponseWrite, onRequestHeaders, onResponseWrite, reset
public static final java.lang.String SESSION
public LogElement copy()
LogElement
copy
in interface LogElement
public java.lang.String onResponseHeaders(io.netty.channel.ChannelHandlerContext ctx, io.netty.handler.codec.http.HttpHeaders headers, java.lang.String status)
LogElement
onResponseHeaders
in interface LogElement
ctx
- The ChannelHandlerContext.headers
- The response headers.status
- The response status.public java.util.Set<LogElement.Event> events()
LogElement
events
in interface LogElement
public java.lang.String toString()
toString
in class java.lang.Object