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, stopunwrappublic ServiceLogger(ServerService next)
public void init(java.util.Properties props)
throws java.lang.Exception
init in interface Serviceinit in class ServerServiceFilterjava.lang.Exceptionpublic void service(java.io.InputStream in,
java.io.OutputStream out)
throws ServiceException,
java.io.IOException
service in interface ServerServiceservice in class ServerServiceFilterServiceExceptionjava.io.IOExceptionpublic 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 ServerServiceservice in class ServerServiceFilterServiceExceptionjava.io.IOException