public class RSocketRequesterSupportImpl extends Object implements RSocketRequesterSupport, org.springframework.context.ApplicationContextAware
| Modifier and Type | Field and Description |
|---|---|
protected org.springframework.context.ApplicationContext |
applicationContext |
protected String |
appName |
protected Properties |
env |
protected char[] |
jwtToken |
protected RSocketProperties |
properties |
protected List<io.rsocket.plugins.RSocketInterceptor> |
requestInterceptors |
protected List<io.rsocket.plugins.RSocketInterceptor> |
responderInterceptors |
protected io.rsocket.SocketAcceptor |
socketAcceptor |
| 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<CloudEventImpl<ServicesExposedEvent>> |
servicesExposedEvent() |
void |
setApplicationContext(@NotNull org.springframework.context.ApplicationContext applicationContext) |
Supplier<io.rsocket.Payload> |
setupPayload(String serviceId) |
io.rsocket.SocketAcceptor |
socketAcceptor() |
Supplier<Set<ServiceLocator>> |
subscribedServices() |
protected Properties env
protected RSocketProperties properties
protected String appName
protected char[] jwtToken
protected org.springframework.context.ApplicationContext applicationContext
protected io.rsocket.SocketAcceptor socketAcceptor
protected List<io.rsocket.plugins.RSocketInterceptor> responderInterceptors
protected List<io.rsocket.plugins.RSocketInterceptor> requestInterceptors
public RSocketRequesterSupportImpl(RSocketProperties properties, Properties env, io.rsocket.SocketAcceptor socketAcceptor)
public URI originUri()
originUri in interface RSocketRequesterSupportpublic Supplier<io.rsocket.Payload> setupPayload(String serviceId)
setupPayload in interface RSocketRequesterSupportpublic Supplier<Set<ServiceLocator>> exposedServices()
exposedServices in interface RSocketRequesterSupportpublic Supplier<Set<ServiceLocator>> subscribedServices()
subscribedServices in interface RSocketRequesterSupportpublic Supplier<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 © 2021. All rights reserved.