250x250
Notice
Recent Posts
Recent Comments
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
Tags
- Core Java
- Open Source
- Python
- jpa
- 설정
- Tomcat
- git
- Exception
- maven
- JDBC
- oracle
- AJAX
- MSSQL
- JavaScript
- PostgreSQL
- spring
- IntelliJ
- Docker
- 문서
- Thymeleaf
- MySQL
- Source
- 오픈소스
- Eclipse
- myBatis
- STS
- Spring Boot
- error
- SpringBoot
- ubuntu
Archives
- Today
- Total
목록Spring Resttemplate (1)
헤르메스 LIFE
[Spring Boot] Spring Resttemplate 예외 처리
LOCAL_SAVE_URL 에서 오류가 발생하면 4xx번, 5xx번대 오류가 넘어옵니다. try { ResponseEntity response = restTemplate.postForEntity( LOCAL_SAVE_URL, entity, String.class ); logger.debug( "response :: {}", response ); logger.debug( "result :: {}", response.getStatusCodeValue() ); logger.debug( "result :: {}", response.getBody() ); //logger.debug( "result :: {}", (List) response.getBody().get( "list" ) ); } catch ( Http..
Spring Boot Framework
2021. 1. 31. 16:16