org.springframework.boot.actuate.endpoint.annotation.DeleteOperation Java Examples
The following examples show how to use
org.springframework.boot.actuate.endpoint.annotation.DeleteOperation.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: NotesEndpoint.java From spring-in-action-5-samples with Apache License 2.0 | 5 votes |
@DeleteOperation public List<Note> deleteNote(int index) { if (index < notes.size()) { notes.remove(index); } return notes; }
Example #2
Source File: NotesEndpoint.java From spring-in-action-5-samples with Apache License 2.0 | 5 votes |
@DeleteOperation public List<Note> deleteNote(int index) { if (index < notes.size()) { notes.remove(index); } return notes; }
Example #3
Source File: NotesEndpoint.java From spring-in-action-5-samples with Apache License 2.0 | 5 votes |
@DeleteOperation public List<Note> deleteNote(int index) { if (index < notes.size()) { notes.remove(index); } return notes; }
Example #4
Source File: NotesEndpoint.java From spring-in-action-5-samples with Apache License 2.0 | 5 votes |
@DeleteOperation public List<Note> deleteNote(int index) { if (index < notes.size()) { notes.remove(index); } return notes; }
Example #5
Source File: WritableEnvironmentEndpointWebExtension.java From spring-cloud-commons with Apache License 2.0 | 4 votes |
@DeleteOperation public Map<String, Object> reset() { return this.environment.reset(); }