接口的使用
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中的方法 修饰符和类型 方法 说明 RSocketStrategies
RSocketStrategies.Builder. build()
Build theRSocketStrategies
instance.static RSocketStrategies
RSocketStrategies. create()
Create anRSocketStrategies
instance with default settings.参数类型为RSocketStrategies的org.springframework.messaging.rsocket中的方法 修饰符和类型 方法 说明 RSocketRequester.Builder
RSocketRequester.Builder. rsocketStrategies(RSocketStrategies strategies)
Provide theRSocketStrategies
to use.static RSocketRequester
RSocketRequester. 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中的方法 修饰符和类型 方法 说明 RSocketStrategies
RSocketMessageHandler. getRSocketStrategies()
Return theconfigured
RSocketStrategies
.参数类型为RSocketStrategies的org.springframework.messaging.rsocket.annotation.support中的方法 修饰符和类型 方法 说明 static ClientRSocketFactoryConfigurer
RSocketMessageHandler. clientResponder(RSocketStrategies strategies, Object... candidateHandlers)
已过时。as of 5.2.6 following the deprecation ofRSocketFactory.ClientRSocketFactory
in RSocket 1.0 RC7.static io.rsocket.SocketAcceptor
RSocketMessageHandler. responder(RSocketStrategies strategies, Object... candidateHandlers)
Static factory method to create an RSocketSocketAcceptor
backed by handlers with annotated methods.void
RSocketMessageHandler. setRSocketStrategies(RSocketStrategies rsocketStrategies)
Configure this handler through anRSocketStrategies
instance which can be re-used to initialize a client-sideRSocketRequester
.