Application 실행 환경에 따른 설정을 위해 profile 설정을 추가합니다. 스프링부트에서는 기본 설정을 application.properties에 하는데 개발 환경에 따라 달라지는 값들은 profile을 추가함으로써 동적으로 이용가능합니다. 추가하는 방법은 간단합니다. application-[profile].properties 이 규칙으로 파일을 생성하면 됩니다. 일단 세개의 파일을 생성합니다. application-local.properties application-dev.properties application-product.properties 내용 application-local.properties ----------------------------- spring.thymeleaf.cac..
요청 값 처리에 대한 설정 부분입니다. 요청 문자열에 대한 type converter 설정 Json 관련 설정(json to object, object json) 1. 요청 문자열에 대한 type converter 설정 @Autowired(required = false) private Converter[] converters; @Override public void addFormatters(FormatterRegistry registry) { if(converters != null) { for(final Converter converter : converters) { registry.addConverter(converter); } } NumberStyleFormatter numberFormatter = ..
Jackson 직렬화 관련 주요 어노테이션 annotation Description *@JsonIgnore @JsonIgnoreProperties @JsonIgnoreType 해당 필드는 무시. deserialize / serialize에서 제외 *@JsonProperty json 필드명과 객체의 속성명이 다를 때 사용하며 해당 속성에는 read only, write only 등이 있다. @JsonSetter @JsonGetter 특정 필드의 setter/getter를 대체할 때 사용 @JsonPropertyOrder 직렬화 순서 지정 @JsonRawValue json 형태의 문자열인 value를 문자가 아닌 json으로 변환한다. @JsonValue 직렬화에 사용할 단일 메소드 이 메소드의 반환 값으로..
- Total
- Today
- Yesterday
- restful서비스
- example
- RESTful
- thymeleaf
- SHEETJS
- 샘플
- 메시지
- cache
- mapToList
- 설정
- lombok
- 예제
- Javascript
- UI
- 스프링부트
- sample
- 타임리프
- 그리드
- listToMap
- ag grid
- REST
- java
- 스프링
- AG-GRID
- springboot
- 엑셀
- mybatis
- Spring Boot
- spring
- oracle
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |