com.healthy.common.security.code.ValidateCodeProcessor Maven / Gradle / Ivy
package com.healthy.common.security.code;
import org.springframework.web.context.request.ServletWebRequest;
/**
* ValidateCodeProcessor
*
* @author xiaomingzhang
*/
public interface ValidateCodeProcessor {
/**
* Create verification code
*
* @param request
* @throws Exception
*/
void create(ServletWebRequest request) throws Exception;
/**
* Verification code
*
* @param servletWebRequest
*/
void validate(ServletWebRequest servletWebRequest);
}