@Override
public void aroundWriteTo(WriterInterceptorContext context) throws IOException, WebApplicationException {
final LoggingStream stream = (LoggingStream) context.getProperty("client.LoggingStream");
context.proceed();
if (stream != null) {
System.out.printf("Body: %s\n", stream.getString(StandardCharsets.UTF_8));
}
System.out.printf("-----------\n");
}
LoggingFilter.java 文件源码
java
阅读 37
收藏 0
点赞 0
评论 0
项目:redhat-sso
作者:
评论列表
文章目录