All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.yx.http.log.HttpLogHandler Maven / Gradle / Ivy

There is a newer version: 4.0.2
Show newest version
package org.yx.http.log;

import javax.servlet.http.HttpServletRequest;

import org.yx.http.handler.WebContext;

/**
 * 这个在用户线程里执行,可以取到线程变量。处理最好用异步,要不然会阻塞请求,影响用户体验
 */
public interface HttpLogHandler {

	void log(WebContext ctx, HttpServletRequest req, Throwable ex, long time);
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy