반응형 lombok2 [Spring Boot] : HTTP message body를 통한 데이터 전송, 파라미터 조회 HTTP message body HTTP API에서 주로 사용한다. JSON, XML, TEXT 데이터 형식은 주로 JSON을 사용한다. @WebServlet(name = "RequestBodyStringServlet", urlPatterns = "/request-body-string") public class RequestBodyStringServlet extends HttpServlet { @Override protected void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { ServletInputStream inputStream = request.getIn.. 2022. 1. 19. [Spring Boot] : lombok(롬복)라이브러리 추가 및 플러그인 설치하기 [Spring Boot] : lombok(롬복)라이브러리 추가 및 플러그인 설치하기 lombok 라이브러리 추가하는 방법 plugins { // 부트 버전이 표시되어 있습니다. id 'org.springframework.boot' version '2.6.1' // 의존관계 관련된 부분도 설정이 되어 있습니다. id 'io.spring.dependency-management' version '1.0.11.RELEASE' id 'java' } // 처음에 설정한 스프링 부트 그룹 네임 설정 group = 'hello' version = '0.0.1-SNAPSHOT' // 자바 11 버전을 쓴다고 되어 있습니다. sourceCompatibility = '11' repositories { mavenCentral.. 2022. 1. 10. 이전 1 다음 반응형