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, wait
onLastResponseWrite, onRequestHeaders, onResponseWrite, reset
public static final String SESSION
public LogElement copy()
LogElement
copy
in interface LogElement
public String onResponseHeaders(io.netty.channel.ChannelHandlerContext ctx, io.netty.handler.codec.http.HttpHeaders headers, String status)
LogElement
onResponseHeaders
in interface LogElement
ctx
- The ChannelHandlerContext.headers
- The response headers.status
- The response status.public Set<LogElement.Event> events()
LogElement
events
in interface LogElement