| 构造器和说明 |
|---|
DefaultPatchca() |
DefaultPatchca(ColorFactory colorFactory) |
| 限定符和类型 | 方法和说明 |
|---|---|
Patchca |
color(ColorFactory colorFactory) |
File |
create(String imgPath,
String imgType) |
Patchca |
filter(FilterFactory filterFactory) |
Patchca |
length(int lenth) |
Patchca |
length(int min,
int max) |
void |
render(com.blade.mvc.http.Request request,
com.blade.mvc.http.Response response) |
void |
render(com.blade.mvc.http.Request request,
com.blade.mvc.http.Response response,
String patchca) |
Patchca |
size(int width,
int height) |
String |
token(com.blade.mvc.http.Response response) |
String |
token(String imgType,
com.blade.mvc.http.Response response) |
boolean |
validation(String patchca,
com.blade.mvc.http.Response response) |
boolean |
validation(String patchca,
String imgType,
com.blade.mvc.http.Response response) |
Patchca |
word(WordFactory wordFactory) |
public DefaultPatchca()
public DefaultPatchca(ColorFactory colorFactory)
public Patchca color(ColorFactory colorFactory)
public Patchca word(WordFactory wordFactory)
public Patchca filter(FilterFactory filterFactory)
public void render(com.blade.mvc.http.Request request,
com.blade.mvc.http.Response response)
throws PatchcaException
render 在接口中 PatchcaPatchcaExceptionpublic void render(com.blade.mvc.http.Request request,
com.blade.mvc.http.Response response,
String patchca)
throws PatchcaException
render 在接口中 PatchcaPatchcaExceptionpublic boolean validation(String patchca, com.blade.mvc.http.Response response)
validation 在接口中 Patchcapublic boolean validation(String patchca, String imgType, com.blade.mvc.http.Response response)
validation 在接口中 Patchcapublic String token(String imgType, com.blade.mvc.http.Response response) throws PatchcaException
token 在接口中 PatchcaPatchcaExceptionpublic String token(com.blade.mvc.http.Response response) throws PatchcaException
token 在接口中 PatchcaPatchcaExceptionpublic File create(String imgPath, String imgType) throws PatchcaException
create 在接口中 PatchcaPatchcaExceptionCopyright © 2017. All rights reserved.