public class ServiceLogger extends ServerServiceFilter
Constructor and Description |
---|
ServiceLogger(ServerService next) |
Modifier and Type | Method and Description |
---|---|
void |
init(java.util.Properties props) |
static void |
MDCput(java.lang.String key,
java.lang.String value) |
void |
service(java.io.InputStream in,
java.io.OutputStream out) |
void |
service(java.net.Socket socket) |
getDelegate, getIP, getName, getPort, start, stop
unwrap
public ServiceLogger(ServerService next)
public void init(java.util.Properties props) throws java.lang.Exception
init
in interface Service
init
in class ServerServiceFilter
java.lang.Exception
public void service(java.io.InputStream in, java.io.OutputStream out) throws ServiceException, java.io.IOException
service
in interface ServerService
service
in class ServerServiceFilter
ServiceException
java.io.IOException
public static void MDCput(java.lang.String key, java.lang.String value)
public void service(java.net.Socket socket) throws ServiceException, java.io.IOException
service
in interface ServerService
service
in class ServerServiceFilter
ServiceException
java.io.IOException