Package org.apache.jackrabbit.webdav.client.methods

Examples of org.apache.jackrabbit.webdav.client.methods.UnbindMethod


            assertEquals(201, status);
            //check if both bindings report the same DAV:resource-id
            assertEquals(this.getResourceId(testres1), this.getResourceId(testres2));

            //remove new path
            UnbindMethod unbind = new UnbindMethod(subcol2, new UnbindInfo("res2"));
            status = this.client.executeMethod(unbind);
            assertTrue("status: " + status, status == 200 || status == 204);

            //verify that the new binding is gone
            HeadMethod head = new HeadMethod(testres2);
View Full Code Here


            assertEquals(201, status);
            //check if both bindings report the same DAV:resource-id
            assertEquals(this.getResourceId(testres1), this.getResourceId(testres2));

            //remove new path
            UnbindMethod unbind = new UnbindMethod(subcol2, new UnbindInfo("res2"));
            status = this.client.executeMethod(unbind);
            assertTrue("status: " + status, status == 200 || status == 204);

            //verify that the new binding is gone
            HeadMethod head = new HeadMethod(testres2);
View Full Code Here

TOP

Related Classes of org.apache.jackrabbit.webdav.client.methods.UnbindMethod

Copyright © 2018 www.massapicom. 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.