Package com.bradmcevoy.http.webdav.PropPatchRequestParser

Examples of com.bradmcevoy.http.webdav.PropPatchRequestParser.ParseResult


            }
            log.debug( "field: " + qn );
            fields.put( qn, sFieldValue );
        }

        ParseResult parseResult = new ParseResult( fields, null );

        if( log.isTraceEnabled() ) {
            log.trace( "check permissions with: " + permissionService.getClass() );
        }
        Set<PropertyAuthoriser.CheckResult> errorFields = permissionService.checkPermissions( HttpManager.request(), Method.PROPPATCH, PropertyAuthoriser.PropertyPermission.WRITE, fields.keySet(), wrappedResource );
View Full Code Here


        }
    }

    public PropFindResponse doPropPatch(Request request, Resource resource) throws NotAuthorizedException, IOException {
        InputStream in = request.getInputStream();
        ParseResult parseResult = requestParser.getRequestedFields(in);
        // Check that the current user has permission to write requested fields
        Set<QName> allFields = getAllFields(parseResult);
        if (log.isTraceEnabled()) {
            log.trace("check permissions with: " + permissionService.getClass().getCanonicalName());
        }
View Full Code Here

TOP

Related Classes of com.bradmcevoy.http.webdav.PropPatchRequestParser.ParseResult

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.