@PatchMapping(path = "/groups/{group}/jobs/{name}/resume")
public ResponseEntity<Void> resumeJob(@PathVariable String group, @PathVariable String name) {
emailService.resumeJob(group, name);
return ResponseEntity.noContent().build();
}
java类org.springframework.web.bind.annotation.PatchMapping的实例源码
EmailResource.java 文件源码
项目:quartz-manager
阅读 31
收藏 0
点赞 0
评论 0
SafeSpringCsrfRequestMappingController.java 文件源码
项目:Android_Code_Arbiter
阅读 29
收藏 0
点赞 0
评论 0
@PatchMapping("/patch-mapping")
public void patchMapping() {
}
SpringTestController.java 文件源码
项目:Android_Code_Arbiter
阅读 23
收藏 0
点赞 0
评论 0
@PatchMapping(value = "/hello-patch")
public void helloPatch() {
logger.fine("hello PATCH");
}
ProblemController.java 文件源码
项目:judge
阅读 27
收藏 0
点赞 0
评论 0
@PatchMapping("{id}")
@ResponseStatus(HttpStatus.NO_CONTENT)
public void update(@PathVariable("id") long problemId, @RequestBody Problem p,
@RequestParam(value = "locale", required = false) String requestLocale) {
problemService.updateSelective(problemId, p, requestLocale);
}
AccountController.java 文件源码
项目:judge
阅读 37
收藏 0
点赞 0
评论 0
@PatchMapping("{userId}")
@ResponseStatus(HttpStatus.NO_CONTENT)
public void update(@PathVariable("userId") String userId, @RequestBody User user) {
accountService.updateSelective(userId, user.toBuilder().password(null).build());
}
AccountController.java 文件源码
项目:judge
阅读 40
收藏 0
点赞 0
评论 0
@PatchMapping("{userId}/password")
@ResponseStatus(HttpStatus.NO_CONTENT)
public void updatePassword(@PathVariable("userId") String userId, @RequestBody UserPasswordForm user) {
accountService.updatePassword(userId, user.getPassword());
}
ContestController.java 文件源码
项目:judge
阅读 46
收藏 0
点赞 0
评论 0
@PatchMapping("{id}")
@ResponseStatus(HttpStatus.NO_CONTENT)
public void update(@PathVariable("id") long id, @RequestBody Contest contest) {
contestService.updateSelective(id, contest);
}
ReflectionErrorDecoderTest.java 文件源码
项目:feign-error-decoder
阅读 36
收藏 0
点赞 0
评论 0
@PatchMapping("")
void methodWithPatchMappingAnnotation() throws ExceptionWithThrowableConstructorException;
DashboardRestController.java 文件源码
项目:metasfresh-webui-api
阅读 30
收藏 0
点赞 0
评论 0
@PatchMapping("/kpis/{itemId}")
public JSONDashboardItem changeKPIItem(@PathVariable("itemId") final int itemId, @RequestBody final List<JSONPatchEvent<DashboardItemPatchPath>> events)
{
return changeDashboardItem(DashboardWidgetType.KPI, itemId, events);
}
DashboardRestController.java 文件源码
项目:metasfresh-webui-api
阅读 36
收藏 0
点赞 0
评论 0
@PatchMapping("/targetIndicators/{itemId}")
public JSONDashboardItem changeTargetIndicatorItem(@PathVariable("itemId") final int itemId, @RequestBody final List<JSONPatchEvent<DashboardItemPatchPath>> events)
{
return changeDashboardItem(DashboardWidgetType.TargetIndicator, itemId, events);
}