Class PatchHandler


  • public class PatchHandler
    extends Object
    author Pascal Knueppel
    created at: 29.10.2019 - 09:40

    this class is used to resolve patch operations on resources
    • Constructor Detail

      • PatchHandler

        public PatchHandler​(ResourceType resourceType)
    • Method Detail

      • patchResource

        public <T extends ResourceNode> T patchResource​(T resource,
                                                        PatchOpRequest patchOpRequest)
        this method will execute the patch operation on the given resource
        Parameters:
        resource - the resource representation that should be patched
        patchOpRequest - the patch operation that should be executed on the resource
        Returns:
        the patched resource