|
|
@ -48,9 +48,9 @@ import java.util.concurrent.TimeUnit; |
|
|
|
@RequiredArgsConstructor |
|
|
|
@RequiredArgsConstructor |
|
|
|
public class ImageCodeHandler implements HandlerFunction<ServerResponse> { |
|
|
|
public class ImageCodeHandler implements HandlerFunction<ServerResponse> { |
|
|
|
|
|
|
|
|
|
|
|
private static final Integer DEFAULT_IMAGE_WIDTH = 140; |
|
|
|
private static final Integer DEFAULT_IMAGE_WIDTH = 105; |
|
|
|
|
|
|
|
|
|
|
|
private static final Integer DEFAULT_IMAGE_HEIGHT = 45; |
|
|
|
private static final Integer DEFAULT_IMAGE_HEIGHT = 35; |
|
|
|
|
|
|
|
|
|
|
|
private static final Integer DEFAULT_IMAGE_LEN = 4; |
|
|
|
private static final Integer DEFAULT_IMAGE_LEN = 4; |
|
|
|
|
|
|
|
|
|
|
|