public class RSocketInboundGatewaySpec extends MessagingGatewaySpec<RSocketInboundGatewaySpec,RSocketInboundGateway>
MessagingGatewaySpec
implementation for the RSocketInboundGateway
.PARSER, target
logger
DEFAULT_PHASE
OBJECT_TYPE_ATTRIBUTE
Modifier | Constructor and Description |
---|---|
protected |
RSocketInboundGatewaySpec(String... path) |
Modifier and Type | Method and Description |
---|---|
RSocketInboundGatewaySpec |
decodeFluxAsUnit(boolean decodeFluxAsUnit)
Configure an option to decode an incoming
Flux
as a single unit or each its event separately. |
RSocketInboundGatewaySpec |
interactionModels(RSocketInteractionModel... interactionModels)
Configure a set of
RSocketInteractionModel the endpoint is going to be mapped onto. |
RSocketInboundGatewaySpec |
requestElementType(ResolvableType requestElementType)
Specify a type of payload to be generated when the inbound RSocket request
content is read by the converters/encoders.
|
RSocketInboundGatewaySpec |
rsocketConnector(AbstractRSocketConnector rsocketConnector)
Provide an
AbstractRSocketConnector reference for an explicit endpoint mapping. |
RSocketInboundGatewaySpec |
rsocketStrategies(RSocketStrategies rsocketStrategies)
Configure an
RSocketStrategies instead of a default one. |
autoStartup, errorChannel, errorChannel, errorOnTimeout, id, phase, replyChannel, replyChannel, replyMapper, replyTimeout, requestChannel, requestChannel, requestMapper, requestTimeout, shouldTrack
_this, createInstance, destroyInstance, doGet, get, getId, getObjectType, getPhase, isAutoStartup, isRunning, start, stop, stop
afterPropertiesSet, destroy, getBeanFactory, getBeanTypeConverter, getEarlySingletonInterfaces, getObject, isSingleton, setBeanClassLoader, setBeanFactory, setSingleton
protected RSocketInboundGatewaySpec(String... path)
public RSocketInboundGatewaySpec interactionModels(RSocketInteractionModel... interactionModels)
RSocketInteractionModel
the endpoint is going to be mapped onto.interactionModels
- the RSocketInteractionModel
s for mapping.RSocketInboundGateway.setInteractionModels(RSocketInteractionModel...)
public RSocketInboundGatewaySpec rsocketStrategies(RSocketStrategies rsocketStrategies)
RSocketStrategies
instead of a default one.rsocketStrategies
- the RSocketStrategies
to use.RSocketInboundGateway.setRSocketStrategies(RSocketStrategies)
public RSocketInboundGatewaySpec rsocketConnector(AbstractRSocketConnector rsocketConnector)
AbstractRSocketConnector
reference for an explicit endpoint mapping.rsocketConnector
- the AbstractRSocketConnector
to use.RSocketInboundGateway.setRSocketConnector(AbstractRSocketConnector)
public RSocketInboundGatewaySpec requestElementType(ResolvableType requestElementType)
requestElementType
- The payload type.RSocketInboundGateway.setRequestElementType(ResolvableType)
public RSocketInboundGatewaySpec decodeFluxAsUnit(boolean decodeFluxAsUnit)
Flux
as a single unit or each its event separately.decodeFluxAsUnit
- decode incoming Flux
as a single unit or each event separately.RSocketInboundGateway.setDecodeFluxAsUnit(boolean)