@ResponseStatus

From NovaOrdis Knowledge Base
Jump to navigation Jump to search

Internal

Overview

@PostMapping(...)
@ResponseStatus(HttpStatus.CREATED)
public A post(@RequestBody A a) {
  ...
}