@ResponseStatus

From NovaOrdis Knowledge Base
Revision as of 20:44, 12 March 2019 by Ovidiu (talk | contribs) (→‎Internal)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Internal

Overview

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