org.springframework.boot.rsocket.context

Annotation Type LocalRSocketServerPort


  • Deprecated. 
    since 2.7.0 for removal in 3.0.0 in favor of org.springframework.boot.test.rsocket.LocalRSocketServerPort

    @Target(value={FIELD,METHOD,PARAMETER,ANNOTATION_TYPE})
     @Retention(value=RUNTIME)
     @Documented
     @Value(value="${local.rsocket.server.port}")
     @Deprecated
    public @interface LocalRSocketServerPort
    Annotation at the field or method/constructor parameter level that injects the RSocket port that got allocated at runtime. Provides a convenient alternative for @Value("${local.rsocket.server.port}").
    Since:
    2.2.0