类org.springframework.boot.actuate.endpoint.annotation.DeleteOperation源码实例Demo

下面列出了怎么用org.springframework.boot.actuate.endpoint.annotation.DeleteOperation的API类实例代码及写法,或者点击链接到github查看源代码。

@DeleteOperation
public List<Note> deleteNote(int index) {
  if (index < notes.size()) {
    notes.remove(index);
  }
  return notes;
}
 
@DeleteOperation
public List<Note> deleteNote(int index) {
  if (index < notes.size()) {
    notes.remove(index);
  }
  return notes;
}
 
@DeleteOperation
public List<Note> deleteNote(int index) {
  if (index < notes.size()) {
    notes.remove(index);
  }
  return notes;
}
 
@DeleteOperation
public List<Note> deleteNote(int index) {
  if (index < notes.size()) {
    notes.remove(index);
  }
  return notes;
}
 
@DeleteOperation
public Map<String, Object> reset() {
	return this.environment.reset();
}
 
 类所在包
 类方法
 同包方法