Package com.bradmcevoy.http.webdav.PropFindResponse

Examples of com.bradmcevoy.http.webdav.PropFindResponse.NameAndError


                        Object val;
                        try {
                            val = source.getProperty( field, resource );
                            knownProperties.put(field, new ValueAndType(val, meta.getValueType()));
                        } catch( NotAuthorizedException ex ) {
                            unknownProperties.add(new NameAndError(field, "Not authorised"));
                        }
                        found = true;
                        break;
                    }
                }
                if (!found) {
                    if (log.isDebugEnabled()) {
                        log.debug("unknown: " + field.toString());
                    }
                    unknownProperties.add(new NameAndError(field, null));
                }

            }
        }
        if (log.isDebugEnabled()) {
View Full Code Here


    List<NameAndError> list = errorProps.get(stat);
    if (list == null) {
      list = new ArrayList<NameAndError>();
      errorProps.put(stat, list);
    }
    NameAndError ne = new NameAndError(name, err);
    list.add(ne);

  }
View Full Code Here

TOP

Related Classes of com.bradmcevoy.http.webdav.PropFindResponse.NameAndError

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.