com.hibegin.http.server.api.Interceptor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of simplewebserver Show documentation
Show all versions of simplewebserver Show documentation
Simple, flexible, less dependent, more extended. Less memory footprint, can quickly build Web project.
Can quickly run embedded, Android devices
package com.hibegin.http.server.api;
public interface Interceptor {
/**
* @param request
* @param response
* @return 为 true 可以继续调用下一个 Interceptor,反之不需要继续调用一个 Interceptor
* @throws Exception
*/
boolean doInterceptor(HttpRequest request, HttpResponse response) throws Exception;
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy