mirror of https://gitee.com/dromara/TLog
补上类注释
This commit is contained in:
parent
23c459c539
commit
b6eebd4e57
|
|
@ -11,6 +11,11 @@ import org.apache.commons.lang3.StringUtils;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Forest的拦截器
|
||||||
|
* @author Bryan.Zhang
|
||||||
|
* @since 1.3.5
|
||||||
|
*/
|
||||||
public class TLogForestInterceptor implements Interceptor<Object> {
|
public class TLogForestInterceptor implements Interceptor<Object> {
|
||||||
|
|
||||||
private final Logger log = LoggerFactory.getLogger(this.getClass());
|
private final Logger log = LoggerFactory.getLogger(this.getClass());
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,11 @@ import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* HttpClient5的拦截器
|
||||||
|
* @author Bryan.Zhang
|
||||||
|
* @since 1.3.3
|
||||||
|
*/
|
||||||
public class TLogHttpClient5Interceptor implements HttpRequestInterceptor {
|
public class TLogHttpClient5Interceptor implements HttpRequestInterceptor {
|
||||||
|
|
||||||
private static final Logger log = LoggerFactory.getLogger(TLogHttpClient5Interceptor.class);
|
private static final Logger log = LoggerFactory.getLogger(TLogHttpClient5Interceptor.class);
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,11 @@ import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* HttpClient的拦截器
|
||||||
|
* @author Bryan.Zhang
|
||||||
|
* @since 1.3.0
|
||||||
|
*/
|
||||||
public class TLogHttpClientInterceptor implements HttpRequestInterceptor {
|
public class TLogHttpClientInterceptor implements HttpRequestInterceptor {
|
||||||
|
|
||||||
private static final Logger log = LoggerFactory.getLogger(TLogHttpClientInterceptor.class);
|
private static final Logger log = LoggerFactory.getLogger(TLogHttpClientInterceptor.class);
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,11 @@ import org.apache.commons.lang3.StringUtils;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
import org.slf4j.LoggerFactory;
|
import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Hutool http组件的拦截器
|
||||||
|
* @author Bryan.Zhang
|
||||||
|
* @since 1.3.5
|
||||||
|
*/
|
||||||
public class TLogHutoolhttpInterceptor implements HttpInterceptor {
|
public class TLogHutoolhttpInterceptor implements HttpInterceptor {
|
||||||
|
|
||||||
private final Logger log = LoggerFactory.getLogger(this.getClass());
|
private final Logger log = LoggerFactory.getLogger(this.getClass());
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,11 @@ import org.slf4j.LoggerFactory;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* OkHttp的拦截器
|
||||||
|
* @author Bryan.Zhang
|
||||||
|
* @since 1.3.0
|
||||||
|
*/
|
||||||
public class TLogOkHttpInterceptor implements Interceptor {
|
public class TLogOkHttpInterceptor implements Interceptor {
|
||||||
|
|
||||||
private final Logger log = LoggerFactory.getLogger(TLogOkHttpInterceptor.class);
|
private final Logger log = LoggerFactory.getLogger(TLogOkHttpInterceptor.class);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue