|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value=METHOD) @Retention(value=RUNTIME) @HttpMethod(value="POST") public @interface POST
Indicates that the annotated method responds to HTTP POST requests POST operations are used to write data (insert or updates). POST operations are NOT idempotent, which means it can NOT be performed repeatedly without side-effects. To define an idempotent operation, use PUT instead.
HttpMethod| Optional Element Summary | |
|---|---|
StateValidationModel |
validatePreviousState
If this state validation is enabled, Crux will add an If-Match HTTP header to ensure that the PUT operation will only be executed if the client retains the current state of the resource being updated. |
public abstract StateValidationModel validatePreviousState
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||