Examples of RoutingRuleCondition


Examples of com.amazonaws.services.s3.model.RoutingRuleCondition

        xml.end();//</CORSRule>
    }

    private void writeRule(XmlWriter xml, RoutingRule rule) {
        xml.start("RoutingRule");
        RoutingRuleCondition condition = rule.getCondition();
        if (condition != null) {
            xml.start("Condition");
            xml.start("KeyPrefixEquals");
            if (condition.getKeyPrefixEquals() != null) {
                xml.value(condition.getKeyPrefixEquals());
            }
            xml.end(); // </KeyPrefixEquals">

            if (condition.getHttpErrorCodeReturnedEquals() != null) {
                xml.start("HttpErrorCodeReturnedEquals ").value(condition.getHttpErrorCodeReturnedEquals()).end();
            }

            xml.end(); // </Condition>
        }
View Full Code Here

Examples of com.amazonaws.services.s3.model.RoutingRuleCondition

                inRoutingRules = true;
            } else if (name.equals("RoutingRule") && inRoutingRules) {
                rule = new RoutingRule();
                inRoutingRule = true;
            } else if (name.equals("Condition") && inRoutingRule) {
                condition = new RoutingRuleCondition();
                inCondition = true;
            } else if (name.equals("KeyPrefixEquals") && inCondition) {
            } else if (name.equals("HttpErrorCodeReturnedEquals") && inCondition) {
            } else if (name.equals("Redirect") && inRoutingRule) {
                redirect = new RedirectRule();
View Full Code Here

Examples of com.amazonaws.services.s3.model.RoutingRuleCondition

                inRoutingRules = true;
            } else if (name.equals("RoutingRule") && inRoutingRules) {
                rule = new RoutingRule();
                inRoutingRule = true;
            } else if (name.equals("Condition") && inRoutingRule) {
                condition = new RoutingRuleCondition();
                inCondition = true;
            } else if (name.equals("KeyPrefixEquals") && inCondition) {
            } else if (name.equals("HttpErrorCodeReturnedEquals") && inCondition) {
            } else if (name.equals("Redirect") && inRoutingRule) {
                redirect = new RedirectRule();
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.