public class RSocketRequesterSupportImpl extends Object implements RSocketRequesterSupport, org.springframework.context.ApplicationContextAware
| Constructor and Description |
|---|
RSocketRequesterSupportImpl(RSocketProperties properties,
Properties env,
io.rsocket.SocketAcceptor socketAcceptor) |
| Modifier and Type | Method and Description |
|---|---|
void |
addRequesterInterceptor(io.rsocket.plugins.RSocketInterceptor interceptor) |
void |
addResponderInterceptor(io.rsocket.plugins.RSocketInterceptor interceptor) |
Supplier<Set<ServiceLocator>> |
exposedServices() |
URI |
originUri() |
List<io.rsocket.plugins.RSocketInterceptor> |
requestInterceptors() |
List<io.rsocket.plugins.RSocketInterceptor> |
responderInterceptors() |
Supplier<io.cloudevents.v1.CloudEventImpl<ServicesExposedEvent>> |
servicesExposedEvent() |
void |
setApplicationContext(@NotNull org.springframework.context.ApplicationContext applicationContext) |
Supplier<io.rsocket.Payload> |
setupPayload() |
io.rsocket.SocketAcceptor |
socketAcceptor() |
Supplier<Set<ServiceLocator>> |
subscribedServices() |
public RSocketRequesterSupportImpl(RSocketProperties properties, Properties env, io.rsocket.SocketAcceptor socketAcceptor)
public URI originUri()
originUri in interface RSocketRequesterSupportpublic Supplier<io.rsocket.Payload> setupPayload()
setupPayload in interface RSocketRequesterSupportpublic Supplier<Set<ServiceLocator>> exposedServices()
exposedServices in interface RSocketRequesterSupportpublic Supplier<Set<ServiceLocator>> subscribedServices()
subscribedServices in interface RSocketRequesterSupportpublic Supplier<io.cloudevents.v1.CloudEventImpl<ServicesExposedEvent>> servicesExposedEvent()
servicesExposedEvent in interface RSocketRequesterSupportpublic io.rsocket.SocketAcceptor socketAcceptor()
socketAcceptor in interface RSocketRequesterSupportpublic List<io.rsocket.plugins.RSocketInterceptor> responderInterceptors()
responderInterceptors in interface RSocketRequesterSupportpublic void addResponderInterceptor(io.rsocket.plugins.RSocketInterceptor interceptor)
public List<io.rsocket.plugins.RSocketInterceptor> requestInterceptors()
requestInterceptors in interface RSocketRequesterSupportpublic void addRequesterInterceptor(io.rsocket.plugins.RSocketInterceptor interceptor)
public void setApplicationContext(@NotNull
@NotNull org.springframework.context.ApplicationContext applicationContext)
throws org.springframework.beans.BeansException
setApplicationContext in interface org.springframework.context.ApplicationContextAwareorg.springframework.beans.BeansExceptionCopyright © 2020. All rights reserved.