You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Demo Api를 추가 후 반환 결과가 ResponseAdvice로 Handling이 잘 이루어 지는 지 확인하는 중에 정상동작하지 않는 부분을 발견하였습니다.
@ResponseStatus(code = HttpStatus.CREATED)
@GetMapping("demo")
public void demo() {
}
형태로 반환 값이 없는 상태에서 ResponseStatus를 작성하면 ResponseAdvice.beforeBodyWrite로 전달되지 않습니다.
반환 값이 존재할 경우 정상동작하는 것은 확인되었습니다.
void 형태로 반환하더라도 ResponseStatus를 적용할 수 있는 방법이 있을까요?
The text was updated successfully, but these errors were encountered:
Demo Api를 추가 후 반환 결과가 ResponseAdvice로 Handling이 잘 이루어 지는 지 확인하는 중에 정상동작하지 않는 부분을 발견하였습니다.
형태로 반환 값이 없는 상태에서 ResponseStatus를 작성하면 ResponseAdvice.beforeBodyWrite로 전달되지 않습니다.
반환 값이 존재할 경우 정상동작하는 것은 확인되었습니다.
void 형태로 반환하더라도 ResponseStatus를 적용할 수 있는 방법이 있을까요?
The text was updated successfully, but these errors were encountered: