yangys
2024-05-19 9e5da8899bc21bb5b6b0a3c267108caa00199291
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
package com.qianwen.core.context;
 
import java.util.function.Function;
import org.springframework.lang.Nullable;
 
public interface BladeContext {
    @Nullable
    String getRequestId();
 
    @Nullable
    String getAccountId();
 
    @Nullable
    String getTenantId();
 
    @Nullable
    String get(String ctxKey);
 
    @Nullable
    <T> T get(String ctxKey, Function<String, T> function);
}