public interface PropFindPropertyBuilder
| Modifier and Type | Method and Description |
|---|---|
List<PropFindResponse> |
buildProperties(PropFindableResource pfr,
int depth,
PropertiesRequest parseResult,
String url)
Construct a list of PropFindResponse for the given resource, using
the PropertySource's injected into this class.
|
Set<QName> |
findAllProps(PropFindableResource resource) |
ValueAndType |
getProperty(QName field,
Resource resource) |
void |
processResource(List<PropFindResponse> responses,
PropFindableResource resource,
PropertiesRequest parseResult,
String href,
int requestedDepth,
int currentDepth,
String collectionHref) |
List<PropFindResponse> buildProperties(PropFindableResource pfr, int depth, PropertiesRequest parseResult, String url) throws URISyntaxException, NotAuthorizedException, BadRequestException
pfr - - the resource to interrogatedepth - - the depth header. 0 means only look at the given resource. 1 is to include childrenparseResult - - contains the list of fields, or a true boolean indicating all propertiesurl - - the URL of the given resource - MUST be correctly encodedURISyntaxExceptionNotAuthorizedExceptionBadRequestExceptionValueAndType getProperty(QName field, Resource resource) throws NotAuthorizedException, BadRequestException
void processResource(List<PropFindResponse> responses, PropFindableResource resource, PropertiesRequest parseResult, String href, int requestedDepth, int currentDepth, String collectionHref) throws NotAuthorizedException, BadRequestException
Set<QName> findAllProps(PropFindableResource resource) throws NotAuthorizedException, BadRequestException
Copyright © 2021 McEvoy Software Ltd. All rights reserved.