일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- Spring CORS
- JPA Update\
- javascript 기초
- spring
- react Quill
- Spring Controller return
- springbatch
- react jsx if
- Spring Entity
- react forwardRef
- javascript 함수
- 텍스트가 많은 경우
- react quill custom
- step 테이블
- react Page
- SpringBatch 스키마
- 코드 중복제거
- editor Quill
- Spring DTO
- Docker Windows 설치
- JPA Insert
- javascrpit 기초
- Javascript
- springbatch chunk
- react
- spring builder
- react react-router-dom v6
- react link
- spring security
- Spring JPA
- 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..