Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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
- 자바
- 그리디
- AOP
- JDBC
- Android
- SpringBoot
- 알고리즘
- Greedy
- Spring Boot
- 스프링 핵심 기능
- 김영한
- 인프런
- Exception
- 스프링
- Servlet
- jpa
- db
- Thymeleaf
- 백준
- spring
- pointcut
- JPQL
- java
- transaction
- QueryDSL
- kotlin
- Proxy
- 스프링 핵심 원리
- http
- springdatajpa
Archives
- Today
- Total
목록HttpMessageBody (1)
개발자되기 프로젝트
HTTP 요청 데이터 - API 메시지 바디 - 단순 텍스트
1. message body에 직접 데이터 담기 HTTP API에서 주로 사용, JSON, XML, TEXT 데이터 형식은 주로 JSON 사용 POST, PUT, PATCH 2. HTTP 메시지 바디의 데이터 읽는 방법 InputStream을 사용 message body의 바이트 코드 얻음. StreamUtils.copyToString(Stream, 인코딩) 을 통해 STring으로 변환. @WebServlet(name = "RequestBodyStringServlet", urlPatterns = "/request-body-string") public class RequestBodyStringServlet extends HttpServlet { @Override protected void service(..
인프런/[인프런] 스프링 MVC 1
2021. 9. 8. 20:52