File tree 1 file changed +4
-4
lines changed
src/main/java/ru/mystamps/web/controller/interceptor
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 43
43
@ RequiredArgsConstructor
44
44
public class DownloadImageInterceptor extends HandlerInterceptorAdapter {
45
45
46
+ private static final Logger LOG = LoggerFactory .getLogger (DownloadImageInterceptor .class );
47
+
46
48
/**
47
49
* Field name that contains image URL.
48
50
*/
49
- public static final String URL_PARAMETER_NAME = "imageUrl" ;
51
+ public static final String URL_PARAMETER_NAME = "imageUrl" ;
50
52
51
53
/**
52
54
* Field name to which downloaded image will be bound.
53
55
*/
54
- public static final String IMAGE_FIELD_NAME = "downloadedImage" ;
56
+ public static final String IMAGE_FIELD_NAME = "downloadedImage" ;
55
57
56
58
/**
57
59
* Name of request attribute, that will be used for storing an error code.
@@ -62,8 +64,6 @@ public class DownloadImageInterceptor extends HandlerInterceptorAdapter {
62
64
*/
63
65
public static final String ERROR_CODE_ATTR_NAME = "DownloadedImage.ErrorCode" ;
64
66
65
- private static final Logger LOG = LoggerFactory .getLogger (DownloadImageInterceptor .class );
66
-
67
67
private final DownloaderService downloaderService ;
68
68
69
69
@ Override
You can’t perform that action at this time.
0 commit comments