public class CaptchaInterceptorGroup extends Object implements CaptchaInterceptor
| 构造器和说明 |
|---|
CaptchaInterceptorGroup() |
CaptchaInterceptorGroup(String name) |
public CaptchaInterceptorGroup()
public CaptchaInterceptorGroup(String name)
public void addInterceptor(CaptchaInterceptor validator)
public void addInterceptor(List<CaptchaInterceptor> validators)
public String getName()
getName 在接口中 CaptchaInterceptorpublic void setName(String name)
public Context createContext()
createContext 在接口中 CaptchaInterceptorpublic ApiResponse<ImageCaptchaVO> beforeGenerateCaptcha(Context context, String type, GenerateParam param)
beforeGenerateCaptcha 在接口中 CaptchaInterceptorpublic void afterGenerateCaptcha(Context context, String type, ImageCaptchaInfo imageCaptchaInfo, ApiResponse<ImageCaptchaVO> captchaResponse)
afterGenerateCaptcha 在接口中 CaptchaInterceptorpublic ApiResponse<?> beforeValid(Context context, String type, MatchParam matchParam, AnyMap validData)
beforeValid 在接口中 CaptchaInterceptorpublic ApiResponse<?> afterValid(Context context, String type, MatchParam matchParam, AnyMap validData, ApiResponse<?> basicValid)
afterValid 在接口中 CaptchaInterceptorpublic ApiResponse<ImageCaptchaVO> beforeGenerateImageCaptchaValidData(Context context, String type, ImageCaptchaInfo imageCaptchaInfo)
public void afterGenerateImageCaptchaValidData(Context context, String type, ImageCaptchaInfo imageCaptchaInfo, AnyMap validData)
public ImageCaptchaInfo beforeGenerateCaptchaImage(Context context, CaptchaExchange captchaExchange, AbstractImageCaptchaGenerator generator)
beforeGenerateCaptchaImage 在接口中 CaptchaInterceptorpublic void beforeWrapImageCaptchaInfo(Context context, CaptchaExchange captchaExchange, AbstractImageCaptchaGenerator generator)
beforeWrapImageCaptchaInfo 在接口中 CaptchaInterceptorpublic void afterGenerateCaptchaImage(Context context, CaptchaExchange captchaExchange, ImageCaptchaInfo imageCaptchaInfo, AbstractImageCaptchaGenerator generator)
afterGenerateCaptchaImage 在接口中 CaptchaInterceptorpublic String printTree()
Copyright © 2025. All rights reserved.