|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: REQUIRED | OPTIONAL | DETAIL: ELEMENT | |||||||||
@Target(value=METHOD) @Retention(value=RUNTIME) @HttpMethod(value="PUT") public @interface PUT
Indicates that the annotated method responds to HTTP PUT requests. PUT operations are used to write data (insert or updates). PUT operations are idempotent, which means it can be performed repeatedly without side-effects.
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 | |||||||||