LocalServerPort

Annotation at the field or method/constructor parameter level that injects the HTTP server port that was allocated at runtime. Provides a convenient alternative for @Value("${local.server.port}").

Author

Anand Shah

Stephane Nicoll

Since

2.7.0

Functions

Link copied to clipboard
abstract fun annotationType(): Class<out Annotation>
Link copied to clipboard
abstract fun equals(p: Any): Boolean
Link copied to clipboard
abstract fun hashCode(): Int
Link copied to clipboard
abstract fun toString(): String