Class RSocketServiceProxyFactory
java.lang.Object
org.springframework.messaging.rsocket.service.RSocketServiceProxyFactory
Factory to create a client proxy from an RSocket service interface with
 
@RSocketExchange methods.
 To create an instance, use static methods to obtain a
 Builder.
- Since:
- 6.0
- Author:
- Rossen Stoyanchev
- 
Nested Class SummaryNested ClassesModifier and TypeClassDescriptionstatic final classBuilder to create anRSocketServiceProxyFactory.
- 
Method SummaryModifier and TypeMethodDescriptionbuilder()Return anRSocketServiceProxyFactorybuilder.builder(RSocketRequester requester) Return anRSocketServiceProxyFactorybuilder, initialized with the given client.<S> ScreateClient(Class<S> serviceType) Return a proxy that implements the given RSocket service interface to perform RSocket requests and retrieve responses through the configuredRSocketRequester.
- 
Method Details- 
createClientReturn a proxy that implements the given RSocket service interface to perform RSocket requests and retrieve responses through the configuredRSocketRequester.- Type Parameters:
- S- the RSocket service type
- Parameters:
- serviceType- the RSocket service to create a proxy for
- Returns:
- the created proxy
 
- 
builderReturn anRSocketServiceProxyFactorybuilder, initialized with the given client.
- 
builderReturn anRSocketServiceProxyFactorybuilder.
 
-