1
2
3
4
5
6
7
8
9
10
11
12
13
14 package ch.qos.logback.access.common.net.server;
15
16 import ch.qos.logback.access.common.net.AccessEventPreSerializationTransformer;
17 import ch.qos.logback.access.common.spi.IAccessEvent;
18 import ch.qos.logback.core.net.server.SSLServerSocketAppenderBase;
19 import ch.qos.logback.core.spi.PreSerializationTransformer;
20
21
22
23
24
25
26
27
28 public class SSLServerSocketAppender extends SSLServerSocketAppenderBase<IAccessEvent> {
29
30 private static final PreSerializationTransformer<IAccessEvent> pst = new AccessEventPreSerializationTransformer();
31
32 @Override
33 protected void postProcessEvent(IAccessEvent event) {
34 event.prepareForDeferredProcessing();
35 }
36
37 @Override
38 protected PreSerializationTransformer<IAccessEvent> getPST() {
39 return pst;
40 }
41
42 }