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
- 반환
- Spring
- RequestBody
- response
- property
- DTO
- 플라이웨이트
- actuator
- yml
- 디자인 패턴
- 코드워즈
- 파라미터
- 로그인
- @RequestBody
- ResponseDto
- 코딩테스트
- springboot
- Docker
- enum
- Request
- 프로퍼티
- redis
- JWT
- 헬스체크
- @Value
- Security
- @RequestParam
- RequestParam
- Codewars
- Boot
Archives
- Today
- Total
목록@Value (1)
있을 유, 참 진

environment 클래스 - 사용법 설명 @Value 어노테이션 @ConfigurationProperties - dependency 추가 environment 클래스 💡 import org.springframework.core.env.Environment 스프링 애플리케이션이 시작될 때, Environment는 애플리케이션 프로퍼티를 읽어 스프링 빈으로 등록된다. 해당 인터페이스로 인해 애플리케이션의 설정값을 외부에서 설정할 수 있으므로 유연성과 확장성 증가. 사용법 설명 greeting: message: Hello from user-service //...생략 @RequiredArgsConstructor public class UserController { private final Environme..
Spring
2023. 4. 4. 00:16