Package io.milton.http.webdav
Class PropPatchHandler
java.lang.Object
io.milton.http.webdav.PropPatchHandler
- All Implemented Interfaces:
ExistingEntityHandler,Handler,ResourceHandler,PropertyHandler
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classstatic classstatic class -
Constructor Summary
ConstructorsConstructorDescriptionPropPatchHandler(ResourceHandlerHelper resourceHandlerHelper, PropPatchRequestParser requestParser, PropPatchSetter patchSetter, WebDavResponseHandler responseHandler, PropertyAuthoriser permissionService) -
Method Summary
Modifier and TypeMethodDescriptiondoPropPatch(Request request, Resource resource) doPropPatch(Request request, Resource resource, PropPatchSetter propPatchSetter) String[]booleanvoidprocess(HttpManager httpManager, Request request, Response response) voidprocessExistingResource(HttpManager manager, Request request, Response response, Resource resource) voidprocessResource(HttpManager manager, Request request, Response response, Resource resource)
-
Constructor Details
-
PropPatchHandler
public PropPatchHandler(ResourceHandlerHelper resourceHandlerHelper, PropPatchRequestParser requestParser, PropPatchSetter patchSetter, WebDavResponseHandler responseHandler, PropertyAuthoriser permissionService)
-
-
Method Details
-
getMethods
- Specified by:
getMethodsin interfaceHandler- Returns:
- - the http methods supported by this handler. Must be all upper case.
-
isCompatible
- Specified by:
isCompatiblein interfaceHandler- Returns:
- - true if the given resource is compatible with this method
-
process
public void process(HttpManager httpManager, Request request, Response response) throws ConflictException, NotAuthorizedException, BadRequestException - Specified by:
processin interfaceHandler- Throws:
ConflictExceptionNotAuthorizedExceptionBadRequestException
-
processResource
public void processResource(HttpManager manager, Request request, Response response, Resource resource) throws NotAuthorizedException, ConflictException, BadRequestException - Specified by:
processResourcein interfaceResourceHandler- Throws:
NotAuthorizedExceptionConflictExceptionBadRequestException
-
processExistingResource
public void processExistingResource(HttpManager manager, Request request, Response response, Resource resource) throws NotAuthorizedException, BadRequestException, ConflictException - Specified by:
processExistingResourcein interfaceExistingEntityHandler- Throws:
NotAuthorizedExceptionBadRequestExceptionConflictException
-
doPropPatch
public PropFindResponse doPropPatch(Request request, Resource resource) throws NotAuthorizedException, IOException, BadRequestException, ConflictException -
doPropPatch
public PropFindResponse doPropPatch(Request request, Resource resource, PropPatchSetter propPatchSetter) throws NotAuthorizedException, IOException, BadRequestException, ConflictException -
getPermissionService
- Specified by:
getPermissionServicein interfacePropertyHandler
-