Package org.w3c.tools.resources

Examples of org.w3c.tools.resources.DirectoryResource.verify()


      dirResource = (DirectoryResource) getDirResourceRef().lock();
      if (dirResource == null)
    throw new ResourceException("parent is NOT a "+
              "DirectoryResource. ("+
              resource.getIdentifier()+")");
      if (! dirResource.verify()) {
    // the directory was deleted, but we can't delete it here
    // (Multiple Locks)
    // Emit an error back:
    Reply error = request.makeReply(HTTP.NOT_FOUND) ;
    error.setContent ("<h1>Document not found</h1>"+
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.