예제 #1
0
 /** Logs a response. */
 protected final <R extends Response> R logResponse(R response) {
   LOGGER.debug("{} - Sent {}", context.getMember().id(), response);
   return response;
 }
예제 #2
0
 /** Logs a request. */
 protected final <R extends Request> R logRequest(R request) {
   LOGGER.debug("{} - Received {}", context.getMember().id(), request);
   return request;
 }