Package com.bradmcevoy.http.webdav

Examples of com.bradmcevoy.http.webdav.PropFindPropertyBuilder


        handlers.add(new MkCalendarHandler(webDavProtocol.getMkColHandler(), webDavProtocol.getPropPatchHandler()));
       
        ValueWriters valueWriters = new ValueWriters();
        PropFindXmlGenerator gen = new PropFindXmlGenerator( valueWriters );
        webDavProtocol.addPropertySource( this );
        PropFindPropertyBuilder propertyBuilder = new PropFindPropertyBuilder( webDavProtocol.getPropertySources() );

        //Adding supported reports
        webDavProtocol.addReport(new MultiGetReport(resourceFactory, propertyBuilder, gen ));
        webDavProtocol.addReport(new ACLPrincipalPropSetReport());
        webDavProtocol.addReport(new PrincipalMatchReport());
View Full Code Here


  public JsonResourceFactory(ResourceFactory wrapped, EventManager eventManager, List<PropertySource> propertySources, PropPatchSetter patchSetter, PropertyAuthoriser permissionService) {
    this.wrapped = wrapped;
    this.eventManager = eventManager;
    log.debug("using property sources: " + propertySources.size());
    this.propFindHandler = new JsonPropFindHandler(new PropFindPropertyBuilder(propertySources));
    this.propPatchHandler = new JsonPropPatchHandler(patchSetter, permissionService, eventManager);
  }
View Full Code Here

        helper = new Helper();
    }

    public JsonPropFindHandler(List<PropertySource> propertySources) {
        ResourceTypeHelper resourceTypeHelper = new WebDavResourceTypeHelper();
        this.propertyBuilder = new PropFindPropertyBuilder(propertySources);
        helper = new Helper();
    }
View Full Code Here

TOP

Related Classes of com.bradmcevoy.http.webdav.PropFindPropertyBuilder

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.