Skip to content

Commit a1c3215

Browse files
liyanzhang505huiguangjun
authored andcommitted
add sub resources: callback and callback-var.
1 parent 1902067 commit a1c3215

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

src/main/java/com/aliyun/oss/internal/RequestParameters.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,8 @@ public final class RequestParameters {
7171
public static final String SUBRESOURCE_WORM = "worm";
7272
public static final String SUBRESOURCE_WORM_ID = "wormId";
7373
public static final String SUBRESOURCE_WORM_EXTEND = "wormExtend";
74+
public static final String SUBRESOURCE_CALLBACK = "callback";
75+
public static final String SUBRESOURCE_CALLBACK_VAR = "callback-var";
7476

7577
public static final String SUBRESOURCE_UDF = "udf";
7678
public static final String SUBRESOURCE_UDF_NAME = "udfName";

src/main/java/com/aliyun/oss/internal/SignParameters.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public class SignParameters {
4040
SUBRESOURCE_ENCRYPTION, SUBRESOURCE_POLICY, SUBRESOURCE_REQUEST_PAYMENT, OSS_TRAFFIC_LIMIT,
4141
SUBRESOURCE_QOS_INFO, SUBRESOURCE_ASYNC_FETCH, SEQUENTIAL, OSS_REQUEST_PAYER, VPCIP, VIP,
4242
SUBRESOURCE_INVENTORY, SUBRESOURCE_INVENTORY_ID, SUBRESOURCE_CONTINUATION_TOKEN, SUBRESOURCE_WORM,
43-
SUBRESOURCE_WORM_ID, SUBRESOURCE_WORM_EXTEND});
43+
SUBRESOURCE_WORM_ID, SUBRESOURCE_WORM_EXTEND, SUBRESOURCE_CALLBACK, SUBRESOURCE_CALLBACK_VAR});
4444

4545

4646
}

0 commit comments

Comments
 (0)