com.qcloud.cos.internal.VIDResultHandler Maven / Gradle / Ivy
package com.qcloud.cos.internal;
import java.util.Map;
import com.qcloud.cos.Headers;
import com.qcloud.cos.http.CosHttpResponse;
public class VIDResultHandler implements HeaderHandler {
@Override
public void handle(T result, CosHttpResponse response) {
Map responseHeaderMap = response.getHeaders();
result.setRequestId(responseHeaderMap.get(Headers.REQUEST_ID));
result.setDateStr(responseHeaderMap.get(Headers.DATE));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy