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