All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.qcloud.cos.internal.cihandler.ReportBadCaseHandler Maven / Gradle / Ivy

There is a newer version: 5.6.238.2
Show newest version
package com.qcloud.cos.internal.cihandler;

import org.xml.sax.Attributes;


public class ReportBadCaseHandler extends CIAbstractHandler {
    public String requestId = "";

    @Override
    protected void doStartElement(String uri, String name, String qName, Attributes attrs) {

    }

    @Override
    protected void doEndElement(String uri, String name, String qName) {
        if (in("Response")) {
            switch (name) {
                case "RequestId":
                    requestId = getText();
                    break;
                default:
                    break;
            }
        }
    }

    public String getResponse() {
        return requestId;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy