public class PropPatchHandler extends Object implements ExistingEntityHandler, PropertyHandler
| Modifier and Type | Class and Description |
|---|---|
static class |
PropPatchHandler.Field |
static class |
PropPatchHandler.Fields |
static class |
PropPatchHandler.SetField |
| Constructor and Description |
|---|
PropPatchHandler(ResourceHandlerHelper resourceHandlerHelper,
PropPatchRequestParser requestParser,
PropPatchSetter patchSetter,
WebDavResponseHandler responseHandler,
PropertyAuthoriser permissionService) |
| Modifier and Type | Method and Description |
|---|---|
PropFindResponse |
doPropPatch(Request request,
Resource resource) |
PropFindResponse |
doPropPatch(Request request,
Resource resource,
PropPatchSetter propPatchSetter) |
String[] |
getMethods() |
PropertyAuthoriser |
getPermissionService() |
boolean |
isCompatible(Resource r) |
void |
process(HttpManager httpManager,
Request request,
Response response) |
void |
processExistingResource(HttpManager manager,
Request request,
Response response,
Resource resource) |
void |
processResource(HttpManager manager,
Request request,
Response response,
Resource resource) |
public PropPatchHandler(ResourceHandlerHelper resourceHandlerHelper, PropPatchRequestParser requestParser, PropPatchSetter patchSetter, WebDavResponseHandler responseHandler, PropertyAuthoriser permissionService)
public String[] getMethods()
getMethods in interface Handlerpublic boolean isCompatible(Resource r)
isCompatible in interface Handlerpublic void process(HttpManager httpManager, Request request, Response response) throws ConflictException, NotAuthorizedException, BadRequestException
process in interface HandlerConflictExceptionNotAuthorizedExceptionBadRequestExceptionpublic void processResource(HttpManager manager, Request request, Response response, Resource resource) throws NotAuthorizedException, ConflictException, BadRequestException
processResource in interface ResourceHandlerNotAuthorizedExceptionConflictExceptionBadRequestExceptionpublic void processExistingResource(HttpManager manager, Request request, Response response, Resource resource) throws NotAuthorizedException, BadRequestException, ConflictException
processExistingResource in interface ExistingEntityHandlerNotAuthorizedExceptionBadRequestExceptionConflictExceptionpublic PropFindResponse doPropPatch(Request request, Resource resource) throws NotAuthorizedException, IOException, BadRequestException, ConflictException
public PropFindResponse doPropPatch(Request request, Resource resource, PropPatchSetter propPatchSetter) throws NotAuthorizedException, IOException, BadRequestException, ConflictException
public PropertyAuthoriser getPermissionService()
getPermissionService in interface PropertyHandlerCopyright © 2021 McEvoy Software Ltd. All rights reserved.