接口的使用
org.springframework.messaging.rsocket.RSocketStrategies
使用RSocketStrategies的程序包 程序包 说明 org.springframework.messaging.rsocket Support for the RSocket protocol.org.springframework.messaging.rsocket.annotation.support Support classes for working with annotated RSocket stream handling methods.org.springframework.messaging.rsocket中RSocketStrategies的使用
返回RSocketStrategies的org.springframework.messaging.rsocket中的方法 修饰符和类型 方法 说明 RSocketStrategiesRSocketStrategies.Builder. build()Build theRSocketStrategiesinstance.static RSocketStrategiesRSocketStrategies. create()Create anRSocketStrategiesinstance with default settings.参数类型为RSocketStrategies的org.springframework.messaging.rsocket中的方法 修饰符和类型 方法 说明 RSocketRequester.BuilderRSocketRequester.Builder. rsocketStrategies(RSocketStrategies strategies)Provide theRSocketStrategiesto use.static RSocketRequesterRSocketRequester. wrap(io.rsocket.RSocket rsocket, MimeType dataMimeType, MimeType metadataMimeType, RSocketStrategies strategies)Wrap an existingRSocket.org.springframework.messaging.rsocket.annotation.support中RSocketStrategies的使用
返回RSocketStrategies的org.springframework.messaging.rsocket.annotation.support中的方法 修饰符和类型 方法 说明 RSocketStrategiesRSocketMessageHandler. getRSocketStrategies()Return theconfiguredRSocketStrategies.参数类型为RSocketStrategies的org.springframework.messaging.rsocket.annotation.support中的方法 修饰符和类型 方法 说明 static ClientRSocketFactoryConfigurerRSocketMessageHandler. clientResponder(RSocketStrategies strategies, Object... candidateHandlers)已过时。as of 5.2.6 following the deprecation ofRSocketFactory.ClientRSocketFactoryin RSocket 1.0 RC7.static io.rsocket.SocketAcceptorRSocketMessageHandler. responder(RSocketStrategies strategies, Object... candidateHandlers)Static factory method to create an RSocketSocketAcceptorbacked by handlers with annotated methods.voidRSocketMessageHandler. setRSocketStrategies(RSocketStrategies rsocketStrategies)Configure this handler through anRSocketStrategiesinstance which can be re-used to initialize a client-sideRSocketRequester.