일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 | 31 |
- SpringBatch 스키마
- javascript 기초
- react
- editor Quill
- 코드 중복제거
- spring builder
- Spring CORS
- react jsx if
- react Page
- react Quill
- spring security
- javascrpit 기초
- Docker Windows 설치
- step 테이블
- 텍스트가 많은 경우
- react forwardRef
- Spring Controller return
- springbatch chunk
- Javascript
- Spring DTO
- react quill custom
- Spring Entity
- react link
- JPA Insert
- Spring JPA
- react react-router-dom v6
- spring
- javascript 함수
- springbatch
- JPA Update\
- Today
- Total
목록Java/예제 (2)
천천히 알아보는 코딩공부
Json -> Java List 변형할 Json { "client": "127.0.0.1", "servers": [ "8.8.8.8", "8.8.4.4", "156.154.70.1", "156.154.71.1" ] } import java.util.ArrayList; import com.google.gson.Gson; import com.google.gson.JsonArray; import com.google.gson.JsonObject; import com.google.gson.JsonParser; public class Test { static String str = "{ "+ "\"client\":\"127.0.0.1\"," + "\"servers\":[" + " \"8.8.8.8\"," + " \..
받아온 HttpServletRequest 클래스로 사용 하시면 됩니다 public static String getBody(HttpServletRequest request) throws IOException { String body = null; StringBuilder stringBuilder = new StringBuilder(); BufferedReader bufferedReader = null; try { InputStream inputStream = request.getInputStream(); if (inputStream != null) { bufferedReader = new BufferedReader(new InputStreamReader(inputStream)); char[] charBuf..