You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: spring-integration-file/src/main/java/org/springframework/integration/file/remote/session/ContextHolderRequestHandlerAdvice.java
+15-2Lines changed: 15 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,19 @@ public class ContextHolderRequestHandlerAdvice extends AbstractRequestHandlerAdv
35
35
36
36
publicConsumer<Object> contextClearHook;
37
37
38
+
/**
39
+
* Constructor for the ContextHolderRequestHandlerAdvice.
40
+
*
41
+
* @param keyProvider The key provider function.
42
+
* @param contextSetHook The context set hook function.
43
+
* @param contextClearHook The context clear hook function.
Copy file name to clipboardExpand all lines: spring-integration-file/src/test/java/org/springframework/integration/file/remote/session/ContextHolderRequestHandlerAdviceTests.java
+17-24Lines changed: 17 additions & 24 deletions
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,8 @@
18
18
19
19
importjava.util.HashMap;
20
20
importjava.util.Map;
21
+
importjava.util.function.Consumer;
22
+
importjava.util.function.Function;
21
23
22
24
importorg.junit.jupiter.api.Test;
23
25
@@ -53,32 +55,24 @@ public class ContextHolderRequestHandlerAdviceTests {
0 commit comments